SoMa actually was nice! But that was long ago, before you-know-what happened, but let’s not get into politics.
Lots of other areas are nice, but it's honestly very difficult to say SoMa, as a whole, was ever nice.
And to be clear, I usually find the "these cities are shitholes" rhetoric overblown. But SoMa has been, and will likely continue to be, shit.