I 100% agree with everyone saying to rent before buying.
Now, I say this as someone who impulse bought a second home, sight unseen in a remote island I had never been to, which is a 31 hour drive away, so I'm not saying this from the perspective of someone who is overly conservative when it comes to things like this.
That said, I bought it for very little and happened to have a pile of cash lying around at the time.
If you are looking at spending substantial sums to buy and maintain a property, and it's going to substantially alter your savings/retirement goals, then yeah, do this in a step-wise fashion and absolutely go and rent for awhile to get to know the specific region.
When it comes to buying, just a few blocks one way or the other can make a major difference. You want to know those location nuances before committing.
I didn't, I just happened to luck out. After having lived there for some time, the house I bought is precisely located exactly where I would want to own, but I only know that from living there, seeing a few seasons, and talking extensively with my neighbours to better understand the ins and outs of the region.
I initially bought it as an AirBnB investment property, but after living there for half a year, fell totally in love with the location and the house, and now I want to build an extension and move there permanently in a few years.
My original thought had been that if I fell in love with the general area, I would get to know the place while living there and renovating the little house, and I would consider buying another home once I was familiar enough with the region.
It's just a coincidence that the place I bought is in the perfect location.
Incidentally, my neighbours there bought about a year before we did, also sight unseen from 30+ hours away. Their home is perfect for them, but within 6 months, they realized that the location really isn't. They're trying to sell their home now. Thankfully for me, it's very difficult to sell there,
So if you can afford to gamble and *maybe* get it right the first time, then go ahead and buy. But as someone who has lived in A LOT of locations, you can't beat living somewhere first to figure out where you fit best.