When thou comest nigh unto a city to fight against it, then proclaim peace unto it. 11And it shall be, if it make thee answer of peace, and open unto thee, then it shall be, that all the people that is found therein shall be tributaries unto thee, and they shall serve thee. 12And if it will make no peace with thee, but will make war against thee, then thou shalt besiege it: 13And when the LORD thy God hath delivered it into thine hands, thou shalt smite every male thereof with the edge of the sword: 14But the women, and the little ones, and the cattle, and all that is in the city, even all the spoil thereof, shalt thou take unto thyself; and thou shalt eat the spoil of thine enemies, which the LORD thy God hath given thee.
Does this law apply to cases where Israel is the aggressor in war? Does anything in the text or greater context speak one way or another?