Sentence:  But we must never forget , most of the appropriate heroes and their legends were created overnight , to answer immediate needs , almost always with conscious <WSD>aims</WSD> and ends . 
Meaning of the word marked with <WSD> tags:  an anticipated outcome that is intended or that guides your planned actions