how could the same god, who had given his people the ten commandments, including the sixth, which forbids murder, order the indiscriminate extermination of whole nations?

Write the above sentence using proper case.
How could the same God, who had given his people The Ten Commandments, including the Sixth, which forbids murder, order the indiscriminate extermination of whole nations?