Deuteronomy 25:6

New International Version - UK Bible (NIVUK)
The first son she bears shall carry on the name of the dead brother so that his name will not be blotted out from Israel.

Read Deuteronomy 25:6 in other translations