Dreams of the past, or a dream about being in History class, are usually about learning from experience. Your mind could be trying to show you what worked or didn’t in the past, so you can learn a lesson, change your behavior and be happier in the present.
[1]