Respectfully, you’re almost certainly going to the wrong parts. My source is that I grew up inside Boston and now reside inside SF.
Boston is amazing, and I love it. But SF is too. For similar reasons. SF is a city of neighborhoods. If you’re going to downtown, or any of the business centers, you’re not getting the good parts. The enjoyable nice parts of SF are all residential. Because of the hills, each residential neighborhood (a valley) has its own unique commercial street full of shops and restaurants, surrounded by beautiful old townhomes, and as you go up the hills you get vistas and nice homes. The city quality is inversely correlated with office space.
Boston has similar historic driving forces - instead of hills, it used to be a city of (now infilled) peninsulas. You get wonderful old homes in Boston, and lots of streets full of shops. Instead of tech money (which Boston also has) it was overrun first by the education industry, which anchors many neighborhoods today.