Who invented school and why do you have to go to school?

in the early 19th century by King Frederick William III found our modern schools and we go to school so we aint dumb and so we can get good jobs well i donschool tbh :') but we gota go or we will end up as sum dumb t think we need hobo :') x