Why did the Free French Revolution finally lead to Napoleon?

The original intention of the French Revolution was to pursue freedom, equality and democracy, but the result was full of violence and terror. Especially in the era of "jacobin dictatorship", dictatorship reached its peak-revolution and in the name of people's arbitrary trampling on human rights. In the end, the Great Revolution turned into a tragedy and ushered in Napoleon's dictatorship. From the beginning, the French Revolution became an "angry game of the people of Paris". When the third class held a rally in the tennis court to announce the establishment of the "Constituent Assembly", it marked that the democratic forces issued a declaration to the feudal forces, and the people's occupation of the Bastille strongly supported this movement. After the initial victory of the revolution, there was an immediate split within the Constituent Assembly that seized power (retaining vested interests and ideal revolutionaries). Once a benign democratic transition, it fell into the gang struggle of the uprising leaders. In the successive revolutions, gironde, jacobin and Zeyo parties stepped onto the French political stage like a cursory tour. The people of Paris are used to using uprisings to oppose a government with biased policies, and revolutionaries are also used to using people's anger to overthrow their political opponents. As time goes by, when people find that the continuous revolution can't bring a bright future to France, a powerful military authoritarian figure naturally becomes the best choice for them to seek protection. If the French people at this time need an autocratic figure to ensure their safety, then Napoleon conquered the French with his godlike wisdom and strategy. Before the Great Revolution, Napoleon had devoted himself to artillery science at the Paris Military Academy, and was also addicted to books on war science and works of enlightenment thinkers. This not only enabled him to create his own "coordinated tactics of artillery, riding and stepping", but also painted himself with the aura of bourgeois enlightenment thought. Let the French people regard Napoleon as the defender of the Great Revolution, the patron saint of France and the inheritor of the Enlightenment. Finally, relying on this military prestige and decisive political skill, Napoleon ended the alternation of various terrorist situations since the Great Revolution and became the first consul of France. After that, Napoleon immediately solved the attack from the anti-French alliance and turned the military battlefield from France to foreign countries, bringing endless glory to the brave French until he was finally crowned emperor of France. Napoleon, who won the victory, also declared his obedience to the enlightenment to the world with the Napoleonic Code written under his leadership, showing his position as the last successor of the will of the Great Revolution.