God is the One Who educates children. Just like it was in the story of the Prophet Ishmael (pbuh), just like it was in the story of the Prophet Joseph (pbuh). Children are tested as well. God tests them with hardships and with ease as well so that they would be reminded by Him when they grow up. Being reminded by Him is a condition of this test anyway. - Harun Yahya