Yes, you should be asking similar questions about most basic laws and concepts behind how western society works.
There's maybe a few hundred people worldwide who could casually drop a proper answer to your question while casually browsing hn.
I believe it'd be more fair to start answering your own question to show how far you are in your intellectual journey on that topic.
Any money that is possessed by the working classes is then taxed in the form of increased living expenses or directly by the government until they can barely afford the necessities that allow them to continue working. Once they are no longer able to do so, they are discarded and allowed to die of preventable illness, starvation, drug use or exposure.