I did it the other direction -- I bought a relatively cheap house, and if the winds of change come, I would rather get a different career than location! Two different equally valid perspectives IMO, as long as you're not dependent on having a particular career in order to make your house payments.
Good point, not good to be so dependent on a career. I'm almost there; useless without a computer involved. Eager to change the location one more time to somewhere affordable. The city is wasted on me.
A career change may be earlier than expected with the LLM craze.