Philosophy is the origin of all education, as philosophy prompts people to ask questions, leading to new answers.
Science, math, etc all started off as philosophical inquiries before they branched off into their respective categories, but if you look you can see that a lot of scientific knowledge started as philosophy, for example, the atom. The philosopher Democritus came up with the idea of an atom thousands of years ago, before the actually atom was discovered, by suggesting that all matter could be divided up until a certain point, in which the tiny piece left would be indivisible. These pieces were like ‘building blocks’ of everything, similar to how we view the atom today.
Overall, because philosophy is what provides wonder and prompts us ti ask questions, it is very important to education, as knowledge is only granted when people look for it (when they ask questions). Additionally, education is important for philosophy, because the more one knows a about a certain subject, the better questions they can ask.