There will always be disputes between nations which, at times, will inflame the public and threaten conflicts, but the main thing is to educate the people of the world to be ever mindful that there are better means of settling such disputes than by war.
Napoleon had been fighting this army of slaves and free people in Haiti and it depleted his forces. And after the Revolution, when the French were driven out, they stopped and sold this big chunk of North America to the Americans for very little money.

