Buy first house, retire immediately

I am in KiwiSaver and have decided to pump funds into it until I buy my first home at about 65. I intend to purchase a small cottage for my wife and me, paying in full using savings and KiwiSaver. Will I have to buy the house before…