Moshe recalls the journey the people made past hostile neighbors and their wars against Sichon and Og who attacked them. Between describing these episodes of comparative peace and war Moshe says, "And it was when all the people of war had died out of the nation" (Devarim 2:16). This refers to the generation that left Egypt, those who had originally refused to enter the land on account of the rebellious speeches that the spies made. When that whole generation had passed away, the people moved into the areas of hostility, where they would be forced into conflict.