means that
an openly hostile person may be easier to deal with than someone who pretends to be a friend while secretly intending harm.
He preferred dealing with a rival who openly disagreed with him to trusting a colleague who secretly undermined him — better an open enemy than a false friend.