Genesis 38:22-24 English Standard Version (ESV)

22. So he returned to Judah and said, “I have not found her. Also, the men of the place said, ‘No cult prostitute has been here.’”

23. And Judah replied, “Let her keep the things as her own, or we shall be laughed at. You see, I sent this young goat, and you did not find her.”

24. About three months later Judah was told, “Tamar your daughter-in-law has been immoral. Moreover, she is pregnant by immorality.” And Judah said, “Bring her out, and let her be burned.”

Genesis 38