Yes, I work for a sense of value and worth to society, and I would accept being paid less if it meant a greater sense of worth. Think about it this way: I have about 40 productive hours per week (young kids, otherwise it'd be more). I could spend 30 hours at a worthless, pointless job that pays well, making enough money for my family, and then 10 hours volunteering on something I care about that makes a difference; or I could spend 40 hours at a job that pays only 3/4 of the former but also achieves my goal of producing valuable things for society. I get paid the same per productive hour, and the latter is much healthier for my psyche.
I currently make around the 20th percentile for my level of experience. I do look for higher paying jobs, but they're all at stupid boring companies doing fintech, adtech, or trying ineffectually to position themselves as middlemen in whatever the latest tech trends are. I don't love my job, but at least I'm making real things that actually help the world.