So I'd say that the Christian Trinitarian God defines right and wrong. And he defines that there are no subhumans.
Well, no subhumans except for the Amelekites - "Now go and smite Amalek, and utterly destroy all that they have, and spare them not; but slay both man and woman, infant and suckling [ed. note: a suckling is what you refer to as a "just-born child"], ox and sheep, camel and ass." (I Samuel 15:2-3.) The Ammonites are likewise done to death in II Samuel 12:31, the people of Jericho in Joshua 6:19, the whole population of Ai in Joshua 8:25, and of course all the firstborn of Egypt (again including the cattle) in Exodus 12:29-30.
Last, but not least, there's the Biblical authorization of slavery in Leviticus 25:44 - "As for the male and female slaves whom you may have, it is from the nations around you that you may aquire male and female slaves."
Come to think of it, the set of "subhumans" would appear to be "everyone who isn't in the tribe," so there's quite a few of them around.