Absolutely. Richer countries have more money, thus they naturally look to spend more trying to uplift their people, which mean richer countries have large social welfare program. This doesn't mean large social welfare programs automatically make nations rich. Causation, correlation games.ghoti, we've been down this path before. There is simply not enough data to start any sort of statistical comparison between the two...
Most of these arguments are way too simplified.