Only if you really stay. You never know when you will lose your job and the only thing to find requires on site in a different city.
Renting and buying tends to work out the same in the long run if renters invest the difference on the early years - but which they rarely do