That's true of essentially everywhere. The Bay Area is something of an outlier--partly because of geography--but there are a number of large expensive metros that you can still get to pretty affordable housing by driving an hour or two. (Or even taking a commuter rail in some cases.) To say nothing of the many metros that aren't especially expensive.