The Amalekites were not extirpated, though.
Although you are begging the question as to what you would do against an enemy that has slaughtered the children of your nation.
But never mind, I would do a bunch of things differently, and it wouldn't include massacring children or carrying out genocide.