Promoting the general welfare is a legitimate function of government (i.e. education, infrastructure, rule of law, military). Those are all services which everyone benefits from equally. The problem comes in when the government tries to Provide the general welfare by handing out money to limited segments of the population. That's when they start to run out of other people's money. And that's the socialism I'm opposed to.