Go read the whole article for the evidence and details.
During the 2012 election, Trump repeatedly claimed that Obama was going to start a war with Iran in order to fire up patriotic sentiment to help him get reelected.
Source: Remember When Trump Accused Obama of Starting a War with Iran to Get Reelected? | Ed Brayton