French President Emmanuel Macron says education is the most important way to ensure security and progress.