Foreshadowing is a literary device that authors use to

Alend human attributes to non-human elements.
Bastonish the reader by having unexpected things occur.
Csuggest an event that may occur later in the story.
Dcompare and contrast characters' attributes.