Hi, the money is for you to do what you like with. It’s nothing to do with your Landlord, and you shouldn’t have to pay rent upfront unless otherwise stated in your lease agreement. Sounds like he’s just being greedy.
However, not sure what happens if you leave the premises, but I’d imagine as...