1 Samuel 15:3.
You conveniently skipped it.
Like I said, if you want to criticize God’s actions, you first have to acknowledge His nature, that nothing God does could ever be evil. You aren’t doing this.
In the same way, you could never say that Satan had done something good, because in acknowledging his existence, you would acknowledge that his nature prohibits any good.
There are plenty of passages you could cite where God does things that, if done by a man, would be questionable. You’re viewing God as some kind of non-transcendent entity like a king.