1 Corinthians 7:39

A wife is bound to her husband as long as he lives. But if her husband dies, she is free to marry anyone she wishes, as long as he belongs to the Lord.

Note Literally she is free to be married to whom she wishes, only in the Lord

BSB · Berean Standard Bible
The wife is bound by the law as long as her husband liveth; but if her husband be dead, she is at liberty to be married to whom she will; only in the Lord.
KJV · King James Version
A wife is bound by law for as long as her husband lives; but if the husband is dead, she is free to be married to whomever she desires, only in the Lord.
WEB · World English Bible
A wife is bound for so long time as her husband liveth; but if the husband be dead, she is free to be married to whom she will; only in the Lord.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

wife
1 Corinthians 7:10, 15; Romans 7:2, 3
only
Genesis 6:2; Deuteronomy 7:3, 4; Malachi 2:11; 2 Corinthians 6:14–16