Teachers are underpaid, teenagers are underpaid, women are underpaid seniors on SS are underpaid, no skill minimum wage workers are underpaid.
I never met a person who didn’t feel they were underpaid.
The fact is nobody is underpaid because they are paid what facts and circumstances dictate they can be paid. That goes from taxpayer affordable funding to their performance (worth as AOC says) to job competition on to demand for one’s skills.
If you are truly worth more than you are being paid in your job, go find another job where your value is appreciated. Not that easy you say? Have you tried?
If you have tried and can find nothing, perhaps you are not underpaid at all.