Stability is one of the reasons why I bought a few years ago (albeit, not in the SF Bay Area). That ever-looming possibility of needing to move again come lease renewal time, whether that be due to rent hikes or the landlord deciding to do something else with the property wore on my nerves.
Of course home ownership isn’t all roses either, but I can at least rely on and plan around my mortgage payment not changing and not having to move unless I decide to do so independently.