Wasn’t he conducting an affair while on company time, using company equipment? If he’d done these things on his off time with his own equipment the FBI wouldn’t know anything about it.
Regardless of whether he liked Trump or not, I would think these things could still get you fired.
He used ‘company’ equipment for the adultery but mostly personal equipment for coup-plotting.