If you’re genuinely poor then moving is cheap when viewed by someone who isn’t poor.
Moving as a renter isn’t free. You’ll need to come up with a security deposit and coming up with two months of rent at once is not easy. Your slumlord landlord is going to keep your old one regardless of merit or law, so don’t think you can use that money. Convincing a new landlord that you’re a good risk is also not going to be easy when you’ve just moved and don’t have a job, so you’re looking at spending on a hotel for a while unless you’re lucky enough to know someone well enough to couch surf.