Nehemiah confronted this problem as Ezra had several years earlier (Ezra 9-10). The text records only Nehemiah's words to the people, but since we know what kind of person he was we can safely assume that he followed up his words with action. Evidently some of these Jews had divorced their Jewish wives to marry foreigners (Mal. 2:10-16). Plucking the beard (v. 25) was a form of punishment (cf. Isa. 50:6), and it was a public disgrace (2 Sam. 10:4).
The marriage of Joiada's son to a foreigner (v. 28) was especially bad since he was the grandson of the high priest, and priests were to marry only Jewish virgins (Lev. 21:14).
"Any person in the high-priestly lineage could become high priest. It was thus a dangerous situation."89
In the ancient East marriages involving prominent families were often arranged to secure political advantage and to form alliances. Probably this was the case in the marriage of the high priest's grandson and Sanballat's daughter.
Again, a similar prayer by Nehemiah marks off this significant reform (v. 29; cf. v. 14).90