Do note that the Indians had a fully operational educational system in the
eighth century BCE! The schools were called Gurukuls and they had a dean/Guru
who would teach the principles of life and everything else to kids of all ages.
Till date, Gurukuls are still seen in some parts of India!
Thank you for your question.
The first formal education systems were established when writing became common, About 3000 BC, the Sumerians and Egyptians established schools. The Hebrews started developing religious schools between 1800 and 1000 BC. The Chinese philosopher Confucius set up the first public school circa 500BC and Confucian schools still operate today.