It is better to cover a crime when there is no benefit in proclaiming it, make repentance and walk aright than to go around announcing it and spreading the idea of indecency in a community which is moving forwards in Allah's path.
the idea of confession of crimes to scholars who live in celibacy is against the nature of Islam and obviously against human nature, a scholar is human and it is likely to leave psychological scars on them and turn them into dangerous hypocrites.
Continuously confessing crimes and being told you're forgiven is an easy way of losing the concept of shame and coming to psychologically accept open immorality with an easy way out instead of maintaining a negative apprehension for one's misdeeds.
i would imagine that it would get easier and easier for a person to go and speak about shameful deeds to another human being and walking away with the idea that all is well, things could only go downhill on a massive scale as has been demonstrated amply with social models in the west where people have learned to accept, then openly and proudly display their crimes saying stuff like "i have learned to accept myself as a sinner and no longer believe in feeling shame".
In a Muslim society, you either keep silent about your past, feel the need and continuous hope for forgiveness from God, and walk aright in Islam to the best of your ability without infecting the community with sin, and if you believe you cannot deal with it, confess the crime and accept the punishment. There is no acceptance of sin.
The concept of Jesus as a specialist maintenance man in a society wondering if they've gone too far and lost all hope of redemption makes sense in this context.
Let the one without sin cast the first stone,
they all chip it.
Where are thine accusers woman?
there are none sir,
then go, and sin no more.
You see here that they tried to play a nasty plot and the society which appeared to know all the prostitutes was confounded, the plot against Mary the chaste was thwarted, the law of Moses was upheld, and the woman's skin was saved.
10While Jesus was having dinner at Matthew’s house, many tax collectors and sinners came and ate with him and his disciples.
11When the Pharisees saw this, they asked his disciples, “Why does your teacher eat with tax collectors and sinners?”
12On hearing this, Jesus said,*“It is not the healthy who need a doctor, but the sick.*
13But go and learn what this means: ‘I desire mercy, not sacrifice.’
*For I have not come to call the righteous, but sinners.”
from Matthew 9
28“What do you think? There was a man who had two sons. He went to the first and said, ‘Son, go and work today in the vineyard.’
29“ ‘I will not,’ he answered, but later he changed his mind and went.
30“Then the father went to the other son and said the same thing. He answered, ‘I will, sir,’ but he did not go.
31“Which of the two did what his father wanted?”
“The first,” they answered.
Jesus said to them,*“Truly I tell you, the tax collectors and the prostitutes are entering the kingdom of God ahead of you.
32For John came to you to show you the way of righteousness, and you did not believe him, but the tax collectors and the prostitutes did. And even after you saw this, you did not repent and believe him.
From Matthew 21
Book 17, Number 4235:
Ubida b. as-Samit reported: While we were in the company of Allah's Messenger (may peace be upoi him) he said:
Swear allegiance to me that you will not associate anything with Allah, that you will not commit adultery, that you will not steal, that you will not take any life which it is forbidden by Allah to take but with (legal) justification; and whoever among you fulfils it, his reward is with Allah and he who commits any such thing and is punished for it, that will be all atonement for it
And if anyone commits anything and Allah conceals (his faults), his matter rests with Allah.
He may forgive if He likes, and He may punish him if He likes.
Book 17, Number 4206:
'Abdullah b. Buraida reported on the authority of his father that Ma'iz b. Malik al-Aslami came to Allah's Messenger (may peace be upon him) and said :
Allah's Messenger, I have wronged myself ; I have committed adultery and I earnestly desire that you should purify me.
He turned him away.
On the following day, he (Ma'iz) again came to him and said : Allah's Messenger, I have committed adultery.
Allah's Messenger (may peace be upon him) turned him away for the second time, and sent him to his people saying: Do you know if there is anything wrong with his mind.
They denied of any such thing in him and said: We do not know him but as a wise good man among us, so far as we can judge.
He (Ma'iz) came for the third time, and he (the Holy Prophet) sent him as he had done before. He asked about him and they informed him that there was nothing wrong with him or with his mind.
When it was the fourth time, a ditch was dug for him and he (the Holy Prophet) pronounced judg- ment about him and he was stoned.
He (the narrator) said :
There came to him (the Holy Prophet) a woman from Ghamid and said : Allah's Messenger, I have committed adultery, so purify me.
He (the Holy Prophet) turned her away.
On the following day she said : Allah's Messenger, Why do you turn me away ? Perhaps, you turn me away as you turned away Ma'iz. By Allah, I have become pregnant.
He said: Well, if you insist upon it, then go away until you give birth to (the child).
When she was delivered she came with the child (wrapped) in a rag and said : Here is the child whom I have given birth to.
He said : Go away and suckle him until you wean him.
When she had weaned him, she came to him (the Holy Prophet) with the child who was holding a piece of bread in his hand. She said : Allah's Apostle, here is he as I have weaned him and he eats food.
He (the Holy Prophet) entrusted the child to one of the Muslims and then pronounced punishment. And she was put in a ditch up to her chest and he commanded people and they stoned her.
Khalid b Walid came forward with a stone which he flung at her head and there spurted blood on the face of Khalid and so he abused her. Allah's Apostle (may peace be upon him) heard his (Khalid's) curse that he had huried upon her.
Thereupon he (the Holy Prophet) said: Khalid, be gentle.
By Him in Whose Hand is my life, she has made such a repentance that even if a wrongful tax-collector were to repent, he would have been forgiven. Then giving command regarding her, he prayed over her and she was buried.
http://www.iium.edu.my/deed/hadith/muslim/017_smt.html
116.*And behold! Allah will say: "O Jesus the son of Mary! Didst thou say unto men, worship me and my mother as gods in derogation of Allah.?"
He will say: "Glory to Thee! never could I say what I had no right (to say). Had I said such a thing, thou wouldst indeed have known it. Thou knowest what is in my heart, Thou I know not what is in Thine. For Thou knowest in full all that is hidden.
117.*"Never said I to them aught except what Thou didst command me to say, to wit, 'worship Allah, my Lord and your Lord'; and I was a witness over them whilst I dwelt amongst them; when Thou didst take me up Thou wast the Watcher over them, and Thou art a witness to all things.
118.*
"If Thou dost punish them, they are Thy servants:
If Thou dost forgive them, Thou art the Exalted in power, the Wise."
119.*Allah will say: "This is a day on which the truthful will profit from their truth: theirs are gardens, with rivers flowing beneath,- their eternal Home: Allah well-pleased with them, and they with Allah. That is the great salvation, (the fulfilment of all desires).
120.*To Allah doth belong the dominion of the heavens and the earth, and all that is therein,
and it is He Who hath power over all things.
Quran 5:116-119
Oh king, we lived in ignorance:
And for those who would still attempt to use the Book of Allah for the sake of opposing Allah, maybe they like this, it's not too encrypted for those who have understanding:
19Have you been thinking all along that we have been defending ourselves to you?
We have been speaking in the sight of God as those in Christ; and everything we do, dear friends, is for your strengthening.*
20For I am afraid that when I come I may not find you as I want you to be, and you may not find me as you want me to be. I fear that there may be discord, jealousy, fits of rage, selfish ambition, slander, gossip, arrogance and disorder.*
21
I am afraid that when I come again my God will humble me before you, and I will be grieved over many who have sinned earlier and have not repented of the impurity, sexual sin and debauchery in which they have indulged.
Final Warnings
1This will be my third visit to you. “Every matter must be established by the testimony of two or three witnesses.”
2 I already gave you a warning when I was with you the second time. I now repeat it while absent:
On my return I will not spare those who sinned earlier or any of the others,
3since you are demanding proof that Christ is speaking through me. He is not weak in dealing with you, but is powerful among you.*
From 2 corinthians
13.*Why did they not bring four witnesses to prove it?
When they have not brought the witnesses, such men, in the sight of Allah, (stand forth) themselves as liars!
14.*Were it not for the grace and mercy of Allah on you, in this world and the Hereafter, a grievous penalty would have seized you in that ye rushed glibly into this affair.
15.*Behold, ye received it on your tongues, and said out of your mouths things of which ye had no knowledge; and ye thought it to be a light matter, while it was most serious in the sight of Allah.
16.*And why did ye not, when ye heard it, say? - "It is not right of us to speak of this: Glory to Allah. this is a most serious slander!"
17.*Allah doth admonish you, that ye may never repeat such (conduct), if ye are (true) Believers.
18.*And Allah makes the Signs plain to you: for Allah is full of knowledge and wisdom.
19.*Those who love (to see) scandal published broadcast among the Believers, will have a grievous Penalty in this life and in the Hereafter: Allah knows, and ye know not.
20.*Were it not for the grace and mercy of Allah on you, and that Allah is full of kindness and mercy, (ye would be ruined indeed).
21.*O ye who believe! follow not Satan's footsteps: if any will follow the footsteps of Satan, he will (but) command what is shameful and wrong: and were it not for the grace and mercy of Allah on you, not one of you would ever have been pure: but Allah doth purify whom He pleases: and Allah is One Who hears and knows (all things).
22.*Let not those among you who are endued with grace and amplitude of means resolve by oath against helping their kinsmen, those in want, and those who have left their homes in Allah.s cause: let them forgive and overlook, do you not wish that Allah should forgive you? For Allah is Oft-Forgiving, Most Merciful.
23.*Those who slander chaste women, indiscreet but believing, are cursed in this life and in the
Hereafter: for them is a grievous Penalty,
24.*On the Day when their tongues, their hands, and their feet will bear witness against them as to their actions.
25.*On that Day Allah will pay them back (all) their just dues, and they will realise that Allah is the (very) Truth, that makes all things manifest.
Quran, Chapter 24, The Light.