Muhammad was the Arabic Machiavelli.
Machiavelli believed that any means however unscrupulous can justifiably be used in achieving political power; especially, those means marked by cunning, duplicity (contradictory doubleness of thought, speech, and action), and bad faith.