But if the man does not want to marry his brother’s widow, she is to go to the elders at the city gate and say, “My husband’s brother refuses to preserve his brother’s name in Israel. He is not willing to perform the duty of a brother-in-law for me.”
Here is, I. The law settled concerning the marrying of the brother's widow. It appears from the story of Judah's family that this had been an ancient usage (Gen 38:8), for the keeping up of distinct families. The case put is a case that often happens, of a man's dying without issue, it may be in the prime of his time, soon after his marriage...
Commenting on Deuteronomy 25:5-12
And the man like not to take his brother's wife,.... The provision here made by this law, when this was the case, is such as did not take place before it became a law; for then Onan would have taken the advantage of it, and refused marrying his brother's wife, which it is plain was not agreeable to him, Gen 38:9; as many do now on one account or another.
Deu 25:5-10 On Levirate Marriages. - Deu 25:5, Deu 25:6. If brothers lived together, and one of them died childless, the wife of the deceased was not to be married outside (i.e., away from the family) to a strange man (one not belonging to her kindred); her brother-in-law was to come to her and take her for his wife, and perform the duty of a brother-in-law to her. יבּם, denom.
Commenting on Deuteronomy 25:5-10