A country's economy becomes more productive as the proportion of educated workers increases since educated workers can more efficiently carry out tasks that require literacy and critical thinking. In this sense, education is an investment in human capital, similar to an investment in better equipment. :)
It’s important for economies to invest in education and training of their people in order to develop new technologies because, when more people are becoming educated there are also going to be more advancements in that society.