Yeah, you’ll run in to shysters and bad managers everywhere you go. Don’t let them take advantage of you and make sure you get paid the hours you work.
It’s fine to have a bit of give and take with a good employer/manager, just don’t let them treat you badly.
And don’t dwell on this experience too much. Nothing lost. Nothing gained. Sounds like you dodged a bullet anyway.