The biggest factor in my happiness and personal growth is always the community I’m in. Are they close knit, good people who I can count on, who will encourage my growth and I encourage theirs? If I already had that in SF I’d stay put. I’m assuming you’re in the tech field so it shouldn’t be hard to get another job PDQ.