After this, the heads of clans were chosen, tribe by tribe, to go to Jerusalem with their wives, children, slaves, and animals.