You may be safer if you know more about your enemies than you know about your friends
One possible origin is Sun-tzu, Chinese general & military strategist (771–256 BC), but not all agree and could be still Unknown