What were the consequences of Napoleon’s ignorance of the history and culture of the Middle East during his effort to take Egypt for France?

What were the consequences of Napoleon’s ignorance of the history and culture of the Middle East during his effort to take Egypt for France? All information much come from Juan Cole’s book Napoleon’s Egypt Invading the Middle East. NO OUTSIDE SOURCES