Three conditions for using an enemy to strengthen yourself.
Robert Greene's framework, from 48 Laws of Power, pp. 32 to 43.
Be sure you will win
Never pick a fight with someone you cannot defeat in the long run.
Set up a target if needed
If you have no apparent enemies, create a convenient one, even turning a friend into one.
Use the enemy to define your cause
Frame your cause as a struggle against a clearly defined opponent so the public understands it.
From chapter: LAW 2, pp. 32–43
Friends betray more readily than enemies because favours breed envy and a sense of entitlement. Michael III promoted his friend Basilius, who then had him murdered, whereas Emperor Sung bought off his generals and pardoned his rivals, who became his most loyal subjects. Greene says to work with the skilled and competent and keep friends for friendship. Enemies sharpen you, define your cause, and a former enemy has something to prove. The reversal is that a friend can be useful for dirty work or as a scapegoat, if both sides understand the risk.