To warn the audience of the tragic events to come and encourage them to learn from the characters’ mistakes.