Deuteronomy 25:6

King James Version Bible (KJV)
And it shall be, that the firstborn which she beareth shall succeed in the name of his brother which is dead, that his name be not put out of Israel.

Read Deuteronomy 25:6 in other translations