▼
Raise up a descendant for your brother. The purpose of this custom, called the levirate system, was to ensure that no line of the family would become extinct. The name of the deceased was to be maintained through this custom of having a child by the nearest relative. See M. Burrows, “Levirate Marriage in Israel,” JBL 59 (1940): 23-33.

▼
The text makes it clear that the purpose of the custom was to produce an heir for the deceased brother. Onan had no intention of doing that. But he would have sex with the girl as much as he wished. He was willing to use the law to gratify his desires, but was not willing to do the responsible thing.

▼
I don’t want him to die like his brothers. This clause explains that Judah had no intention of giving Shelah to Tamar for the purpose of the levirate marriage. Judah apparently knew the nature of his sons, and feared that God would be angry with the third son and kill him as well.

▼
After some time. There is not enough information in the narrative to know how long this was. The text says “the days increased.” It was long enough for Shelah to mature and for Tamar to realize she would not have him.

Judah’s wife, the daughter of Shua, died. After Judah was consoled, he left for Timnah to visit his sheepshearers, along with
▼

▼
The active participle indicates the action was in progress or about to begin.

to Timnah to shear his sheep.” 14 So she removed her widow’s clothes and covered herself with a veil. She wrapped herself and sat at the entrance to Enaim which is on the way to Timnah. (She did this because
▼

▼
The Hebrew text simply has “because,” connecting this sentence to what precedes. For stylistic reasons the words “she did this” are supplied in the translation and a new sentence begun.

she saw that she had not been given to Shelah as a wife, even though he had now grown up.)
▼

▼
Heb “she saw that Shelah had grown up, but she was not given to him as a wife.”

▼
The Hebrew noun translated “cult prostitute” is derived from a verb meaning “to be set apart; to be distinct.” Thus the term refers to a woman who did not marry, but was dedicated to temple service as a cult prostitute. The masculine form of this noun is used for male cult prostitutes. Judah thought he had gone to an ordinary prostitute (v. 15); but Hirah went looking for a cult prostitute, perhaps because it had been a sheep-shearing festival. For further discussion see E. M. Yamauchi, “Cultic Prostitution,” Orient and Occident (AOAT), 213–23.

who was at Enaim by the road?” But they replied, “There has been no cult prostitute here.” 22 So he returned to Judah and said, “I couldn’t find her. Moreover, the men of the place said, ‘There has been no cult prostitute here.’” 23 Judah said, “Let her keep the things
▼

▼
The words “the things” have been supplied in the translation for stylistic reasons.

▼
She is more upright than I. Judah had been irresponsible and unfaithful to his duty to see that the family line continued through the levirate marriage of his son Shelah. Tamar fought for her right to be the mother of Judah’s line. When she was not given Shelah and Judah’s wife died, she took action on her own to ensure that the line did not die out. Though deceptive, it was a desperate and courageous act. For Tamar it was within her rights; she did nothing that the law did not entitle her to do. But for Judah it was wrong because he thought he was going to a prostitute. See also Susan Niditch, “The Wronged Woman Righted: An Analysis of Genesis 38, ” HTR 72 (1979): 143-48.

than I am, because I wouldn’t give her to Shelah my son.” He did not have sexual relations with her
▼

▼
Heb “and he did not add again to know her.” Here “know” is a euphemism for sexual intercourse.

again. 27 When it was time for her to give birth, there were twins in her womb. 28 While she was giving birth, one child
▼

▼
The word “child” has been supplied in the translation for stylistic reasons.

put out his hand, and the midwife took a scarlet thread and tied it on his hand, saying, “This one came out first.” 29 But then he drew back his hand, and his brother came out before him.
▼

▼
Heb “Look, his brother came out.” By the use of the particle הִנֵּה (hinneh, “look”), the narrator invites the reader to view the scene through the midwife’s eyes. The words “before him” are supplied in the translation for stylistic reasons.

▼
Heb “How you have made a breach for yourself!” The Hebrew verb translated “make a breach” frequently occurs, as here, with a cognate accusative. The event provided the meaningful name Perez, “he who breaks through.”

▼
The name Perez means “he who breaks through,” referring to Perez reaching out his hand at birth before his brother was born. The naming signified the completion of Tamar’s struggle and also depicted the destiny of the tribe of Perez who later became dominant (Gen 46:12 and Num 26:20). Judah and his brothers had sold Joseph into slavery, thinking they could thwart God’s plan that the elder brothers should serve the younger. God demonstrated that principle through these births in Judah’s own family, affirming that the elder will serve the younger, and that Joseph’s leadership could not so easily be set aside. See J. Goldin, “The Youngest Son; or, Where Does Genesis 38 Belong?” JBL 96 (1977): 27-44.

30 Afterward his brother came out – the one who had the scarlet thread on his hand – and he was named Zerah.
▼

▼
Perhaps the child was named Zerah because of the scarlet thread. Though the Hebrew word used for “scarlet thread” in v. 28 is not related to the name Zerah, there is a related root in Babylonian and western Aramaic that means “scarlet” or “scarlet thread.” In Hebrew the name appears to be derived from a root meaning “to shine.” The name could have originally meant something like “shining one” or “God has shined.” Zerah became the head of a tribe (Num 26:20) from whom Achan descended (Josh 7:1).

You can mix most searches. This finds any word translated as 'throne' in the Prophets and the New Testament, but only in verses concerning the topic 'David'. This excludes verses which refer to a 'throne' in other contexts.