You can’t put a price on your experiences. Not everything we do leads to some monetary gain or increase in prestige or status.
I don’t feel my undergraduate degree benefitted me in my worldly life, but I found faith midway through, for which I am immensely grateful. I don’t feel my postgraduate degree helped get me ahead in career development, but I made a sincere prayer there, which would be answered one year later.
I don’t feel that my current employment is the best I could do, but it gave me a front-row seat to view the scientific and medical response to the pandemic, enabling me to steer clear of pseudo-scholars spouting their peculiar and dangerous nonsense.
In whatever situation we find ourselves, there is always some kind of benefit: you just have to seek it out. Think beyond that constricted box of wealth and status. What else is important in your life?