וַיְהִ֗י עֵ֚ר בְּכ֣וֹר יְהוּדָ֔ה רַ֖ע בְּעֵינֵ֣י יְהוָ֑ה וַיְמִתֵ֖הוּ יְהוָֽה׃
And Er, Judah’s first-born, was wicked in the sight of the LORD; and the LORD slew him.
Read halakhic rulings (Jewish law) on Genesis 38:7: and classical halakhic sources.