Is it worth it to buy a house in California?

Considering that more people are choosing to work from home and even move out from California should we also consider moving out too?

The cost of living is too high in California and there is an expectation that the home price would drop.