Ezra had committed himself to study and obey the Law of the Lord. He also wanted to teach the Lord's rules and laws in Israel.