No. It’s a rule embedded in your specific culture. A priest or parent or teacher told you.
Discussion
And who told them? And who told them?
Someone who invented it. This person just made it up.
That is the reason sins are different in different cultures.