If you focus on cultivating a purpose from within (I know how cheesy that sounds) you won’t be distracted by what others are doing or achieving.
You will only care about what things day to day will help you move forward in getting you to your destination.
Very often a lack of purpose leads to comparison. Stay in your lane. Trust me. There is no advantage to envy and jealousy. Get better. Just keep getting better.