I can only find rankings going back to 2000 where California was #5. It was #5 until 2003 when Arnold Schwartzenegger became governor, then it started slipping. 7th in 2003, 8th until 2010 when it slipped to 9th. By 2012 it was 10th. Then it started coming back under Jerry Brown (he entered office in 2011). Since 2013 it's been moving up year by year until it hit 5th again.
There are parts of California where the cost of living isn't bad, but then not that many people want to live there either. California is the biggest agriculture state in the US by a huge margin, but it barely registers as a blip in the overall state economy. The state is home to some huge industries and has been for most of the last century.
California has its ills, but economically having Democrats in charge have helped the overall economy. At least in recent years.
I like the climate of the Northwest much better than anywhere I lived in California (Los Angeles, Bakersfield, Morro Bay). Seattle has many of the same problems as the major cities in California. Traffic is worse IMO because the traffic planning people believed if they didn't expand the freeways, people wouldn't move there. Now they can't afford to expand them. Portland took a different approach, but trying to stay a mid-sized city and expanding freeways when the land was cheaper. Portland traffic is getting worse like any larger city, but they do have better alternatives than Seattle and they don't have as many freeway choke points as Seattle (the I-5 bridge at the Columbia being the biggest exception and it hasn't been replaced because of pig headedness on the part of the Vancouver city council).