As someone who is the exact same age as you and also as someone who has previously been in the same work situation as you, the best thing you could of done is to leave that job.
Look, just like you, for me taking on a low paying job is not something that was out of the blew. You and I BOTH signed that contract knowing EXACTLY what we were both going to be paid.
Being still fairly young and naive, in that we didn’t realize just how crazy rent would be, how annoying a long commute would be, and just how important it is to sort of like what you do, we took the job thinking it would be the gateway to our dream job.
With that being said, the best thing you can do is do the math of how much you make minus your expenses (to live a comfortable life) and if it’s not at least giving you some wiggle room to add to your savings, it’s time to find a new job. Yes, the job market sucks and finding a job is soul draining, but I’ve been unemployed TWICE now and each time I found a better higher paying job.
No one FORCES you to stay in a job you hate that also doesn’t pay the rent. If you don’t want to get in this situation in the first place, then DON’T accept a job that doesn’t pay the rent.
When you’re unhappy, you ALWAYS have the choice to make changes, whether that mean leaving a job, moving back home, getting roommates, getting a part time job, or anything else that might improve your situation.