I have at times had to suffer such treatment because I needed the paycheck even if I wasn't getting paid extra for the extra hours.
However there was still the choice to leave such a job and deal with the consequences.
On one occasion I wasn't even given the choice. It was expected and I didn't live up to those expectations. I wasn't that upset in the end because even though money was tight for a while I still made it through and got another job within a couple of weeks. I was much happier in the new position and most of the people I knew who worked for that company eventually left anyway.
At some companies I would get paid for the extra time or at least would be given paid time off later on. I just had to ask. Otherwise I would just go home at my normal time.
These days I probably wouldn't even work over time if you paid me extra. I only work overtime if I made a promise to deliver something by a certain date (and I rarely make those promises unless I'm certain) or if I have some stake in the company. That's largely because I'm in a position where I'm not living paycheck to paycheck anymore and don't need to work for my employers if I don't want to.
Admittedly if you're just starting out or this kind of "overtime culture," is pervasive everywhere ymmv.