This sort of advice is nothing new.
When my wife and I bought our first house in 1986, we were told that it was a good time to buy, because we qualified for the mortgage at 9.5%, and were also told that we could refinance later.
And a couple years later we did refinance at 8% ,and then later refinanced at 7%.
According to realtors it is always a good time to buy.
If folks thought it was a bad time to buy the realtors would starve.
Realtors have a conflict of interest which makes their views on the topic a joke.
We have been in our house since 2000 and have refinanced 5 times. Now at 3.5%.