Unfortunately, at the time of the Canaanite cities, there wasn't really much infrastructure for providing welfare services to war orphans, and there was a very real risk that young males of conquered peoples would grow up to seek genocidal revenge on their conquerors. By that standard, offering homes to the female prisoners of war was relatively compassionate.