Why is there God-directed genocide in the Bible?

Evening Worship at Christ UMC