You must hide your sins!
It is reported that the Messenger of Allah (ﷺ), said:
“All members of my community will be spared, except for those who publicly declare [an example of which] the actions of such a person who commits something at night and Allah covers him [sin], and in the morning he himself says:“ O such and such, Yesterday I did this and that ”, and [it turns out that] he spends the night under the cover of his Lord, and in the morning he throws off the cover of Allah”
Bukhari No. 5721
The hadith openly condemns everyone who talks about their sins and praises those who hide their sins. What Allah has hidden, the believer must also hide. Whoever deliberately talks about his sins, he anger his Lord, who will not cover him after. Whoever deliberately conceals sin, out of shame before the Lord and before people, Allah will bless him by covering him.
See: Fatah al Bari 10 / 487-488