It is such a scam that companies pay you wages after the fact, while rentiers seek rent beforehand.
Wages should either be paid upfront, or rent should only be payable after services provided. The current state of things puts workers at a huge disadvantage.