This general assembly took place in late November or early December of 458 B.C. The people who were guilty agreed to divorce their foreign wives and to do this in various local towns that were convenient to their homes in the weeks and months that lay ahead. The Feast of Dedication fell on the twenty-fifth of this month. Perhaps they made their commitment to God then.
"Since such marriages led to the introduction of foreign cults, Ezra's drastic solution is along the same lines as Joshua's Shechem assembly with its commitment to putting aside foreign gods (Jos 24:23)."141
God sent rain (v. 10; fertility) when His people got right with Him. He had promised to do this in Deuteronomy 11:10-17.
Israel's leaders permitted divorce on this occasion because of the unlawful marriages of the Israelites. They had married contrary to the Law of Moses. Even though God hates divorce (Mal. 2:10-16) He permitted it (Deut. 24) to achieve the larger goals of maintaining Israel's distinctiveness so she could fulfill His purposes for her in the world (Exod. 19). His purposes for the church are not the same as His purposes for Israel. Furthermore the church is not subject to the Mosaic Law. Therefore it is inappropriate to appeal to the Jews' action on this occasion as a precedent that Christians who are married to unbelievers should follow (cf. 1 Cor. 7:12-13).
Christians who believe that God does not permit divorce for any reason find this passage very disturbing. Obviously Ezra was following the Law very carefully, and he permitted divorce. I believe that the biblical revelation is that God hates divorce and does not want people to practice it. However, He does permit them to practice it in certain situations. Similarly God does not want anyone to perish but wants everyone to experience salvation (1 Tim. 2:4; 2 Pet. 3:9). Nevertheless He permits people to perish.