forethought
noun
°Thinking in advance, planning, anticipation.
"With a little forethought we'd have planned for this contingency and not been stuck here now."