What does Genesis 38:22 mean?
Judah sent a friend to pay his debt to a prostitute (Genesis 38:20), but Hirah cannot find her. As a result, he cannot return the personal items Judah left as security (Genesis 38:18). Locals know of no such person, because the woman Judah slept with is actually Tamar, Judah's widowed daughter-in-law (Genesis 38:7–10).Tamar's scheme was to force Judah to make good on his promise to care for her (Genesis 38:11). That has been revealed as a lie (Genesis 38:14). Perhaps her first goal was simply to sleep with Judah and privately shame him. When he has no money and needs to leave his personal effect, she may have seen that as an opportunity for greater leverage. Certainly, learning she was pregnant would have given her an enormous advantage.
As expected, Judah is afraid his reputation will suffer, so he chooses to do nothing (Genesis 38:23). Later, his own hypocrisy will complete Tamar's trap (Genesis 38:24–25).