Jealousy robs you of pleasure and gratitude. Humility and appreciation of talents of the other prevent this.
You only aim for perfection if it is within reach. Don't obsess, 'within reach' is already far above average.
Your inner balance starts at your inner life. Especially in your puberty you begin to ask relevant questions about yourself and the world around you. These two appear to be inextricably linked and all you perceive outside yourself, is also in yourself and the other way around (the so-called mirrors). That is a soothing thought, because that limits the search field to your own inner self. It gives you the reassurance that you have control over much of what is happening to you. Not only does everything react to you (like a stone that is thrown in the water), but you can also control how you deal with your outside world. How much you allow things or people to influence you. We are all very receptive to the moods and states of mind of the people around us. Even though we are not always aware, we constantly exchange thoughts, emotions, hormones and feelings with our environment. Sometimes even after people have left (you probably know the feeling of coming into a room where people just had an argument). Important is to distinguish between 'what is mine?' and 'what is someone else's?'
Once you have determined that it is yours and that it originates from your inner life, you need to remember: you are not your thoughts, you are not your hormones, you are not your feelings and you are not your emotions. These are only signals that you have to look at something, that your attention is required. There is always an 'I' that is outside of your thoughts, feelings, emotions, and hormones. This 'I' apparently can look at the situation and - provided that you are mentally healthy -can choose how to react. How come an aggressive man does not hit his wife in the streets and avoids hitting in places where the bruises are visible? Or how come you can keep your erotic urges to yourself until you are somewhere alone, having the opportunity. If you take charge of your thoughts, feelings, emotions, and hormones you can neutralize them. There's no need to fall into 'rigid behaviour ' (as in certain religions with mandatory celibacy, or obligatory mindlessness).
If you take charge you can even enlarge your emotions/feelings, without shame, and get 'in a flow' doing so. 'Naughty' thoughts, feelings or emotions you preferably just live, as much as possible, as far as it does not harm others and yourself and as long as you take charge, so that you can stop whenever you wish and have no regrets. Regret is an emotion that holds you back. With 'harming others' we do not mean that you go against their expectations, but that you really harm their interests.