To "buy the farm", is to die, usually in combat. Used since WWII, the term is commonly taken to refer to the death benefit provided a soldier's family. Another interpretation is that it is a term meaning retirement, in this case permanently. Yet a third is that soldiers buy land with blood and fire, and dying meant you bought your share.