Even if money would be gainfully employed in making money for rent, you have to include tax component.
Say rent is $220 but to have $220 after tax of say 32% average,
you have to earn $324 –32% = $220 roughly.
The same can be said about money frozen in the house as cost of lost opportunity, should the money frozen in the house be used for alternative money producing investment.
Effectively everything is boiling down to preference, plus of course peace of mind in case you own the property and do not have to move just because somebody pulled the plug on you.