If this is a question to yourself, then my response is: start sending part of your paycheck to the guy in the coal mine. Don't blame someone else for society's ills and not be willing to fix such problems yourself. Find a miner, adopt him, send him half your paycheck, keep tabs on him: how the job's going, how the family's doing, etc.
If this is a question for me, a creator of software, then my response is: I build things that enable new activities, I don't perform a task that maintains someone else's status quo. I (as a freelancer) or my employer (when I'm an employee) have found someone willing to pay what we charge. Period. How am I able to do that? By learning. Continuously. By adapting to changes in technology and the market. Why do I get paid more than the coal miner? Because he has settled for that life. If he needs something more, he needs to learn how to attain it.
But maybe, just maybe, our coal mining friend is doing what he loves. If he's happy ... leave him alone.