If you sell a residential property within two years of buying it, any gain may be taxed (for sales on or after 1 July 2024). Your own home is usually exempt. Older rules can still apply to some earlier sales, so talk to your accountant.
A free 15-minute call with a property lawyer who only works with first home buyers.