California would do fine. If you factor in the Cost of Living, California drops to #11 in the world just below France (and China jumps to #1 ahead of the USA).
Texas has about the same GDP as Mexico, incidentally.
GDP doesn't factor in federal money.