He was probably the most miserable man on earth, living with his sins and guilt that had to haunt him 24x7, and not able to have a normal relationship with one human on earth in spite of his wealth and adoring fans - who simply do not know the truth.
His problems were not mental. They were not psychological.
They were moral.
You’re probably assuming sex sins here.
I think you miss the point at a fundamental level. Morality, psychology, and mentality all join in the thing you have failed to mention, i.e. spirituality.
Accusing of sin is easy. Everyone that has been on earth was so as a sinner, Jesus Christ alone excepted. Outlining the character of righteousness is far tougher, and so many shoot from the hip about it without having actually walked the walk led by the Holy Ghost.