6 And it shall be, that the firstborn that she beareth shall stand in the name of his brother who is dead, that his name be not blotted out from Israel.

Matthew Henry's Commentary on Deuteronomy 25:6

Commentary on Deuteronomy 25:5-12

(Read Deuteronomy 25:5-12)

The custom here regulated seems to have been in the Jewish law in order to keep inheritances distinct; now it is unlawful.