I have those moments to myself before bed while browsing social media where I stalk my old friends and exes to see how they're doing. It's discouraging to see how they appear to be doing better than me. I hate myself for being jealous.
It might help to imagine that a friend of yours is feeling the same way.  What would you say to your friend?
I wish I could lend my help to you, if you need it.
And your friends will be there to help you, as well. It's totally fine to feel some jealousy about their activities as long as it doesn't get out of hand. You should accept your feelings and work with them rather than feeling troubled over it.
I know. I just was curious.
It's normal to feel jealous of others sometimes, but instead of feeling bad about yourself, how does it sound to take that jealous to motivate you to improve? Hating yourself won't get you far, but loving yourself will.