I have posted way back that God is our greatest psychiatrist, for only he sees and understands our heart. Once you know him well, you'll see that you are whom he treasures and come to accept and be happy with yourself. You have reconciled to yourself, no longer feeling inferior to anyone. In fact, you don't ever compare yourself to others anymore. This is humility! Once you know the Lord well, you'll also never feel lonely again, for he is with you always. Then when you receive the Lord in the Holy Eucharist each time, ask him to heal your soul. Now, you'll be in top mental shape, made whole by the Lord.