But we probably do agree that constantly comparing oneself to others is not good for emotional well-being.
My advice to OP: don't focus on outcomes (ie, 'this 22 year-old did X, why haven't I?), focus on the process. Your goal should be to each day do work and spend your time in a way of which you would be proud. Avoid the hot and cold cycle of overwork / burnout and procrastination.