I don't know if OP deliberately chose to chase money, but he did and now complains that he lost his passion for technology. Yes, the other options leave you only with half or even less of the income but you will remain happy and can have a fulfilling work environment. With a software development job you will have a comfortable income no matter where you work so "i needed the money" is not an excuse.
That is a problem that is better solved with politics than with technology. There is enough in the world that if we shared more, most people would not have to worry about these things. (I say most, solving for "all" is more difficult)
But let's be honest. Work isn't always going to be fun. Not having to stress about things is not going to make Dilbert-style corporations enjoyable. Just keep smiling and be happy you are not plowing the ground with an Ox.
This is the state we are in now already - most people, as long as they have jobs, don't have to worry about these things.