Earlier quoted context omitted.
Typically, you can break your lease with one month payment. And you don't lose your deposit. That's not how deposits work. Actually, it's how many of the leases I've had worked, and I've lived in dozens of states. Probably cost 4K, not 40K. It cost my friend $11,000 to move his one bedroom apartment from Southern California to Texas last year using Mayflower. And he was just one person, not a family. Moving an entire…
Wow. I haven't researched moving costs at all, but I'd probably buy all new stuff and still save money at those prices.
Moving isn't cheap, but on even relatively junior tech salaries, provided some savings or access to credit, it's truly not a life-altering event the way $40k would be.