Is it better to rent a cheap/shitty place, or rent something suitable that you struggle to afford?

I am trying to make a decision. curious about your thoughts on my personal situation, and what you think in general. or your own stories if you have anything relevant...