1 Samuel 15:3

15:3 So go now and strike down the Amalekites. Destroy everything that they have. Don’t spare them. Put them to death – man, woman, child, infant, ox, sheep, camel, and donkey alike.’”

Deuteronomy 25:17-19

Treatment of the Amalekites

25:17 Remember what the Amalekites did to you on your way from Egypt, 25:18 how they met you along the way and cut off all your stragglers in the rear of the march when you were exhausted and tired; they were unafraid of God. 25:19 So when the Lord your God gives you relief from all the enemies who surround you in the land he is giving you as an inheritance, you must wipe out the memory of the Amalekites from under heaven – do not forget!

Joshua 6:21

6:21 They annihilated with the sword everything that breathed in the city, including men and women, young and old, as well as cattle, sheep, and donkeys.