was it Johnson who said 'patriotism is the last refuge of a scounrel'?
When there is a perceived threat people unify in order to meet that threat. If there is no perceived threat politicians will create one.
Provoke a problem
Provoke a reaction
Offer a solution
The classic tactic of the dictator