Treat your friend as if he will one day be your enemy, and your enemy as if he will one day be your friend
or simply: