As rising high school senior, I often struggle with this -- the question of whether to get rich any way I can and then make my mark on the world (a la Bill Gates), or whether I should strive for my money-making to also be genuinely (in my opinion/worldview) beneficial for mankind.
After making his fortune, Bill is now working to better the world by using it to power his charitable foundation. If you're really confident then both tasks are within your reach. Don't listen to the nay-sayers who'd rather we all work as volunteers for the Peace Corps
Don't get me wrong. I have tremendous respect for Bill -- I look up to him and give him a LOT of credit for his recent work and humility. But I don't think Bill did "both". He definitely fell squarely into the first limited category: being a ruthless capitalist to get rich, and then trying to figure out how to actually bring some tangible good into the world with that money. (See also Andrew Carnegie)
In any case, I didn't really mean other countries in my comment. There is a great deal of crime, starvation, poverty, and disease in this country.
"Charity starts at home."
It also just generally frustrates and disappoints me that so many brilliant young developers and entrepreneurs spend their time fixing textbook first world problems instead of addressing the poverty, disease, crime, and unrest which still plagues the world.