Engineers in the bay can make $1 million or higher, if you know where to look. You will likely never get that in Texas.
I will never draw a Bay Area salary. But I have a great house and a kid in a good private school for <50% of the cost to live in SFO.