My peers got further but was it a race I even wanted?
The people you began with have gone further in this field than you have. For a long time that stung. And only lately have you asked the deeper question: did you ever actually want to win this particular race, or did you just assume you were supposed to? That is a wiser question than it feels like. Falling behind in a race you never chose is not a loss. It might be the first sign that your true direction lies somewhere else. Many people run hard for years toward a finish line that was never theirs, and never stop to ask why. You are asking. That is worth something. Give the question real time. Sit down and write what a good working life would look like if no one was watching and no scoreboard existed. What you find there is your race. The gap between you and your peers only matters if you were ever running toward the same thing.