If you feel guilty you could always go do those other things that benefit society more or even do some volunteer work so you feel less guilty about making a decent living.
That's my point: I feel like software salaries are so much more than decent living wages. I don't feel bad about what I do personally, but I feel bad about our industry as a whole.