The Lord wanted his people to see how great and glorious his law is. He wanted to show them that he always does what is right.