But in my experience, when I was a child, I dreamed of sending my children to school or dreaming of going back to school, mostly because I made a wrong decision in my work or life recently. Dreaming like this is equivalent to warning: "study hard (or remember for a long time) and don't make mistakes again."
Of course, there may be a more direct or better way to express these ideas, but why choose such a way and content? Psychologically speaking, your current psychological situation, considering getting married and having children, is an inner activity that often happens unconsciously. So this kind of content is also related to your inner activities and wishes.