It seems to me that by living as a frugal software engineer in SF, you will be much faster to save money for a $400k house in Texas than if you choose never to leave Houston. Buying a 2 million dollar house in SF makes little sense to me unless you're really wealthy, so I don't understand why this is a better comparison.