While it's understandable that you may feel a sense of accomplishment and vindication after overcoming past difficulties and achieving success, using your success as a means to show off or make someone else feel bad about themselves is not a healthy or compassionate approach.
It's essential to remember that success should be about personal growth, self-improvement, and fulfilling your own potential, rather than using it as a tool to belittle or demean others. Seeking revenge or trying to make someone else feel inferior will not bring you true happiness or satisfaction in the long run.
Instead, focus on being a positive influence and a supportive friend. Use your success as an opportunity to inspire and motivate others, including your friend, to pursue their own dreams and goals. Encourage them to find their strengths and passions and offer help and guidance if they seek it. Being kind, empathetic, and understanding can have a more significant impact on your friend's life and your relationship with them than any show of arrogance or superiority ever could.
Remember that everyone has their own unique journey and struggles in life, and we should strive to lift each other up rather than tear each other down. Success is best enjoyed when it is shared and celebrated with compassion and humility.