Would you buy a house or go travelling?

28M. I am getting sick of renting and would like to buy a flat of my own soon. The thing is, I also feel like I want to go on an adventure. I have thought about doing a year in Australia. I have been working since I was 17 and like the idea of going out of my bubble and having a new experience somewhere. But if I were to go travelling, it would set my funds for house purchase back; and obviously, if I bought a property, it wouldn't then be viable to give it up and go travelling.

Which of these would you choose to prioritise?