Now, the question is, did they?
Did Israel wipe them out and kill all "men, women, children and livestock"?
No.
So, did Israel disobey God?
Scholars have varying opinions on this but one of the views is that the language used was the typical language of the day to dsescribe the "totality" of the war.
Much like we say that the "every living thing was wiped out" or "kill them all and let God sort them out".
Of course none of that changes that it was written that God command a war and commanded killing.
I guess what needs to be asked is, was it a justified and moral command?