Napoleon actually got hispushed in at Egypt. and then he lost the Siege of Acre and had to run away.
During all those he was sending news to the French mainland about how he was kicking arse in the Middle East.
Napoleon losing in Egypt and Haiti spelled the end of his ambitions for a global colonial empire.
Because of this he sold Louisiana to the USA this allowed him to fund his ambitions in Europe.
He carved out a European Empire until it came crashing down again.
French reverted back to taking scraps of whatever that can be colonised after losing their holdings in North America, Middle East and Europe. Hence why they took West Africa, Algeria and Vietnam.