Sentence:  Prosperity is a worthy objective ; but if providing higher standards of living gets in the <WSD>way</WSD> of producing sufficient guns to resist Communist aggression , then material sacrifices and denials will have to be made . 
Meaning of the word marked with <WSD> tags:  a course of conduct