Old Testament readings use the Septuagint , the Scripture the apostles quoted. Masoretic numbering shown for reference.Learn why
LXX

Genesis 38:8

And Judas said to Aunan, Go in to thy brother's wife, and marry her as her brother-in-law, and raise up seed to thy brother.

Read in other translations