Forshadowing

Definition: to show, to indicate beforehand, prefigure

Example
The blood coming from his mouth foreshadowed his death.