let me teach you how to optimize using your form of mathsIt is a liability like monthly rental from government
eg a flat is 400k. you will need at least 40k and a loan of 350k. because your view is that the flat is worth nothing after you bought it, you will be in negative asset territory (-360k) if you buy the flat.
so dont buy the flat. rent one instead at 2000. you net assets is still positive at 38k.