Quirky just using online rent vs buying calculators, from what you just stated... The scenario I was able to figure out, was that you would need to be there for 30 years to make it worth while.
But that's PMQ vs buying, average rents in the area could skew that and you may have a solid rental after 5-7 years making you money.
Abdullah
Ps best to talk go a proper advisor.