Partially agree.
I still network, and actually found my current job thanks to my network.
I still interact with ma colleagues, help them, socialize. But I try to keep some emotional distance.
When I got laid off, my colleagues were also my close friends, so on top of the laid off turmoil I was living, I was sad I would no longer work with them.