Renting costs you the rent. Buying costs you the mortgage, strata, insurance, upkeep and the duty and fees on the way in — but you keep the equity, and the deposit you did not invest elsewhere is money the renter still has. This works both sides through to the year buying pulls ahead.
Buying pulls ahead
Buying counts the property's value less what you still owe and what it costs to sell, plus anything you invested when the rent was higher than the mortgage. Renting counts the deposit and fees you did not spend, invested, plus whatever you saved each month buying would have cost you.