forewit

noun

1.
the cognitive process of thinking about what you will do in the event of something happening
2.
judiciousness in avoiding harm or danger