Because it minimizes harm and stabilizes the economy. There are benefits to providing safety nets to people who didn’t have a hand in their own misfortune. Specifically those people get to continue providing value. The modern economy is not zero sum. Work creates value, it is in everyone’s interest to stabilize productive workers.