A lot of this comment isn’t born out in reality. Around 30% of marriages in the US are from people who met in the office, plenty of people make life long friends from people they met at work, etc.
I’m not saying that should be the primary place you look for friends or an SO, but plenty of people are successful doing it.