Moses
Deuteronomy 20:14ESV·traditional attribution

but the women and the little ones, the livestock, and everything else in the city, all its spoil, you shall take as plunder for yourselves. And you shall enjoy the spoil of your enemies, which the LORD your God has given you.

Matthew Henry Presbyterian @wholebiblehenry

They are here directed what method to take in dealing with the cities (these only are mentioned, Deu 20:10, but doubtless the armies in the field, and the nations they had occasion to deal with, are likewise intended) upon which they made war.

Commenting on Deuteronomy 20:10-20

John Gill Reformed Baptist @doctorgill

But the women, the little ones, and the cattle,.... These were to be spared; women, because of the weakness of their sex, and subjection to their husbands; and little ones, which take in males as well as females, as Jarchi observes, because of their tender age; and cattle because of their insensibility; all these having had no concern in holding out the siege: and all...

Keil & Delitzsch Lutheran @keilanddelitzsch

Deu 20:12-14 If the hostile town, however, did not make peace, but prepared for war, the Israelites were to besiege it; and if Jehovah gave it into their hands, they were to slay all the men in it without reserve (“with the edge of the sword,” see at Gen 34:26); but the women and children and all that was in the city, all its spoil...

Commenting on Deuteronomy 20:12-14