Genesis 38:24-26 New International Version (NIV)
24 About three months later Judah was told, “Your daughter-in-law Tamar is guilty of prostitution, and as a result she is now pregnant.”
Judah said, “Bring her out and have her burned to death!”
25 As she was being brought out, she sent a message to her father-in-law. “I am pregnant by the man who owns these,” she said. And she added, “See if you recognize whose seal and cord and staff these are.”
26 Judah recognized them and said, “She is more righteous than I, since I wouldn’t give her to my son Shelah.” And he did not sleep with her again.
When Tamar revealed she was pregnant, Judah, did not know he had gotten her pregnant. He wanted to have her killed. Judah had concealed his sin, yet he was coming down harshly on Tamar. Often the sins we try to cover up are the ones that anger us the most. If you become indignant at the sins of others, you may have similar tendencies to that sin that you do not want to face. Always admit your sins and ask God to forgive, and then forgiving others will be easier.