That is a fairly broad statement that applies to pretty much all situations, and I agree.
My main point is things can get nasty. It is not helpful if any relationship ends badly but it is especially worrying if a relationship with someone in the workplace ends badly.