We are taught in Islam not to expose our sins. When we commit sin we are under Allah’s cover. So when we expose that, we lose that cover. We should not expose our sins out of happiness or because it is something we are proud of and we should not expose them because it gives other people an idea! A powerful reminder.