He needs a foreign enemy to give him a reason to round up, beat up and shoot dissidents
The old “foreign enemy” thing is about page two in the despots handbook. Hugo used it as regular operation. Remember how he was always shaking a big red sheet, yelling booga booga the Americans are coming, to distract from all his failings? The classic of course was blaming us for his toilet paper shortage.