After many days Shua’s daughter, the wife of Judah, died. Judah was comforted, and went up to his sheepshearers to Timnah, he and his friend Hirah the Adullamite. Bible

“After many days.” This is an idiom; in this case it would have been a number of years that Tamar had obediently waited.

Commentary for: Genesis 38:12