foreshadow

Definition

To suggest or indicate something that will happen later, especially in literature.

Example

"The dark imagery in the first chapter foreshadows the tragic ending."