In about 98% of situations, moving & selling\buying a house is a colossal waste of money.
If you buy a $300k house, put 25% down, and hold a mortgage for the remaining amount... At 4.5%, which is apparently good for 30yr these days, just checked and dear lord has it gone up since last I looked...
If you left after 5 years, you'd have paid your lender almost ~$70,000. Out of that $70k, a whole $20k would have been towards principal, and the other $50k would have been wasted on interest. You sell your house and move, that $50k interest you gave your lender over 5 years is pretty much just wasted. Never mind fees and closing costs, etc...
Obviously a very generic simplification, but applies to nearly every situation where someone puts some money down and holds a 30yr mortgage (which is the majority of home purchases). Lenders fucking love it when someone gets a mortgage, and then moves within 5 - 10 years. Absolutely fucking love it. Those are their favorite kind of customers. They just collected a shit ton of interest, and get to wipe their hands of any potential liability of a default.
The whole "starter home" shit is a fucking scam. "Buy this starter home, and move in a couple of years!". No fucking thank you. Any time my wife brought up us moving, not just because of neighbors, she once wanted to move back to the area we were renting in because she likes that Target better (true story), I shot that shit down. Unless something forces us to move, we're in our hose for the long haul.