I feel insecure from watching people younger and those who are not much older than me, doing a lot better in life. Can islam help me with this? How do we try to not get attached to dunya?

The holy prophet said: “ you should always look at those below you and not those above in the affairs of Dunya”

Look at those you are doing better than them and it will make a lot of difference