In chapters 9 and 10 we see a commitment made to the Lord after they confessed their sins.