Sentence:  And there he learned of things and haps to come, / To give foreknowledge true, and certain <WSD>doom</WSD>. 
Meaning of the word marked with <WSD> tags:  A judgment or decision.