Dreaming of the end of the world is grand and terrifying. It almost always occurs during major life transitions, where your “old world” is literally ending to make way for a new one.
Graduating, retiring, getting divorced, or moving to a new country can all trigger doomsday dreams. It is not a prediction of the future, but a reflection of the total upheaval of your current reality.