You mean like God ordering Joshua to wipe out all the other residents of the promised land. Or how about Abraham rescuing Lot by waging war against the 5 kings?
Keep in mind the times these events all occurred in.
God is sovereign over the universe. Unlike man.