TL;DR: You can't control feelings. Shift the focus to what you can control which is your attention.
Treat feelings as signals, not drivers. You are better off just accepting them. They will not go away for good unless you find and fix the source. My guess is that you dwell on comparing yourself to others.
Think of it this way: if you changed your environment and surrounded yourself with, say, data analysts - would you feel more empowered to pursue your goals? At least now you have the opportunity to learn from people you consider smarter than you what might prove more beneficial for you in the future.
The point is: comparing yourself to others provides no value. It's a counter-productive mechanism that distracts rather than motivates. There will always be a person out there somewhere that's a few steps ahead of you.
What does not help is the fact that many of the academic systems are designed to be competitive. There is also a lot of people simply driven by competition - and it is clear to me that you are not. Remember that you do not have to be.
I am not convinced that competitiveness is generally useful to science anyway.
Achievements vary from perspective. I couldn't care less about math medalists, to be honest. And it is a good thing actually: if you adjust your perspective to focus on making you achieve the goal, you won't care about other peoples' achievements - unless you are happy for them, which would be a healthier counter-mechanism. All you need to do is to keep the daily grind going and do what you need to do regardless of emotions. Motivation will probably appear sooner than you expect.
As a side-note, a good practice is to list all the achievements of the last year (not generally area-specific, it might be even something like going on a holiday) and remind them to yourself when you start overthinking the things you haven't done. It has a better chance of putting you in a good mood than letting yourself down.