God also told Saul to kill the children of the Amelakytes.
God does what He does and He doesn’t answer to us.
The Book of Esther deals with the results of Saul’s failure. Almost caused a holocaust, (except for Gods secret intervention.)