I tend to align with the capitalist worldview. In a democracy where 'majority' rules, politicians can end up in a precarious situation where welfare blocks feeling marginalized can create an insurmountable opportunity cost perpetuating welfare policies. This could certainly destroy an economy if pushed too far. Strangely, either if non-working individuals couldn't vote or if the government system wasn't majority rule perhaps this trend wouldn't hold true.
All of that being said, we can't turn our backs on all safety nets as responsible policy makers. As for where the line should be drawn? Who knows. Just be wary of giving politicians the authority to decrease voter elasticity (the cost an individual incurs when they vote away a political party).