If you tax people who are working to pay those who are not working then in no distant time you'll have more people not working. This is very true, I've seen in my country some areas who are oil producing, their people are very lazy because government pays them free money while they're not working so it breeds an environment of no productivity among them and serious over dependence on the government. Funny enough their population is growing and their young are maintaining the status quo of not working and getting free money.
Isn't this regulated? At some point, I think that it's okay for the government to pay to an unemployed person because many people live from paycheck to paycheck and there are moments when unexpected things happen, you lose your job and are left without income. I think that in such cases the government should pay some money to this person, especially when he has been paying taxes but at the same time. I think that the government should pay them until they get employed but it should be a little bit different. If the government offers you a job and you refuse, then they should immediately stop giving you unemployment money to my mind.
However, from a modern public policy perspective, the wisest approach is not to choose one or the other. Ideally, the state should accommodate all citizens' interests and resolve problems with policies that are accessible to all. Therefore, the state should establish a tax and subsidy system that is fair, efficient, and encourages productivity. This means that assistance is allowed, but it shouldn't incite laziness; taxes may be collected, but they must be accompanied by reciprocal benefits in the form of employment and training opportunities.
The solution isn't to eliminate assistance or allow dependency; a wiser approach is to redesign the system to be productive and conditional. For example, the state provides assistance for a specific period of time, accompanied by skills training (reskilling). The government provides temporary public jobs (public works programs), and if someone refuses a suitable job offer, the assistance is terminated. Assistance is linked to productive participation, such as internships, local MSMEs, or social projects. According to my information, several Scandinavian and Northern European countries implement this model (they insist on shared responsibility between individuals and the state).