Genesis 38–39

Please follow and like us:

Genesis 38–39 — Judah and Joseph: Two Roads, Two Choices

genesis 38-39

Key Scriptures: Genesis 38:1–30; Genesis 39:1–23; Proverbs 4:23; 1 Corinthians 10:13; 2 Timothy 2:22

“How then can I do this great wickedness, and sin against God?” — Genesis 39:9

Genesis 38 and 39 stand next to one another for a reason.

Chapter 38 follows Judah.

Genesis 39 follows Joseph.

Judah walks into compromise.

Joseph walks in faithfulness.

Judah makes decisions that create shame and confusion.

Joseph makes decisions that cost him dearly but preserve his integrity.

These chapters show us that circumstances do not determine character.

Choices do.

Judah Went Down from His Brothers

Genesis 38 begins:

“And it came to pass at that time, that Judah went down from his brethren.”

That phrase is more than geographical.

Judah had just participated in selling Joseph.

Now he separated himself from his brothers and formed close relationships among the Canaanites.

He married a Canaanite woman.

Then he began building a family.

Judah’s Sons

Judah had three sons:

  • Er.
  • Onan.
  • Shelah.

Er married a woman named Tamar.

However, Scripture says:

“Er, Judah’s firstborn, was wicked in the sight of the LORD; and the LORD slew him.” — Genesis 38:7

The text does not tell us the specific nature of Er’s wickedness.

Therefore, we should not invent details.

We simply know that his life was seriously sinful before God.

Tamar Was Left a Widow

According to the customs of the time, Judah then told Onan to fulfill the family responsibility of providing offspring for his dead brother.

However, Onan refused to fulfill that responsibility honestly.

He used Tamar selfishly while intentionally preventing the family line from continuing.

Genesis says what he did displeased the Lord.

The problem was not merely a biological act.

It was selfishness, deception, and refusal to carry out a serious family obligation.

Onan Also Died

Genesis says:

“And the thing which he did displeased the LORD: wherefore he slew him also.” — Genesis 38:10

Again, the chapter presents sin seriously.

Two sons of Judah died under God’s judgment.

Then Judah faced a difficult decision concerning his youngest son, Shelah.

Judah Delayed

Judah told Tamar to remain a widow until Shelah grew older.

However, Genesis reveals Judah’s real motive.

He feared Shelah might die as his brothers had.

So Judah delayed.

Tamar waited.

But Judah never fulfilled what he had promised.

This is important.

A delayed promise can become a broken promise.

Judah did not openly say:

“I will never give Shelah to you.”

He simply kept postponing responsibility.

Avoidance Is Still a Choice

Sometimes we think that doing nothing keeps us neutral.

It does not.

Ignoring a responsibility is still a decision.

Avoiding a hard conversation is still a decision.

Refusing to act when we know what is right is still a choice.

Judah’s delay left Tamar vulnerable and without the future she had been promised.

Judah’s Wife Died

After some time, Judah’s wife died.

He mourned.

Then he went to Timnath, where his sheep shearers were working.

Tamar learned that Judah was coming.

By this point, she knew Shelah had grown up and yet Judah had not kept his promise.

So Tamar made a desperate and deceptive plan.

Tamar Disguised Herself

Tamar changed her clothing and concealed her identity.

Judah saw her but did not recognize her.

He assumed she was a prostitute.

Judah then sought a sexual encounter with her.

The account is morally troubling on several levels.

Tamar used deception.

Judah pursued sexual immorality.

The chapter does not excuse either action.

However, it also exposes Judah’s hypocrisy later.

Judah Left a Pledge

Judah promised payment.

Until payment could be sent, Tamar asked for a pledge.

Judah gave:

  • His signet.
  • His bracelets.
  • His staff.

These personal items clearly identified him.

Later, Judah attempted to recover them.

But Tamar had disappeared.

Sin Often Leaves Evidence

Judah apparently thought the event could remain secret.

However, the items he left behind told another story.

Sin often promises privacy.

It says:

“No one will know.”

“This will never come back.”

“It is only one time.”

But hidden choices have a way of leaving consequences:

  • Sometimes the evidence is external.
  • Sometimes it is guilt.
  • Sometimes damaged trust.
  • Sometimes changed habits.
  • Sometimes spiritual numbness.

Sin always costs more than it first appears.

Tamar Became Pregnant

About three months later, Judah learned that Tamar was pregnant.

His reaction was severe.

He said:

“Bring her forth, and let her be burnt.” — Genesis 38:24

Judah was quick to condemn what he believed was Tamar’s immorality.

Yet he had participated in the very situation that led to her pregnancy.

This is hypocrisy.

It Is Easier to See Another Person’s Sin

Jesus later warned about this tendency.

We easily see the mote in someone else’s eye while ignoring the beam in our own.

Judah saw Tamar’s apparent sin immediately.

He did not yet see himself.

That is a spiritual danger for all of us.

We can become experts at diagnosing others while excusing ourselves.

“Discern, I Pray Thee”

Tamar then sent Judah the identifying items.

She said:

“Discern, I pray thee, whose are these, the signet, and bracelets, and staff.” — Genesis 38:25

That word “discern” carries special weight.

Earlier, Judah and his brothers had sent Joseph’s bloody coat to Jacob and asked him to identify it.

Now Judah was being asked to identify his own possessions.

The deceiver was confronted by evidence he could not deny.

Judah Confessed

To his credit, Judah did something important.

He said:

“She hath been more righteous than I.” — Genesis 38:26

Judah acknowledged his failure.

He admitted that he had not given Tamar to Shelah as promised.

This does not make Tamar’s deception ideal.

But Judah finally recognized that his own neglect had helped create the situation.

Confession is a turning point.

Judah Was Beginning to Change

Genesis 38 is not the final word about Judah.

Later, in the Joseph story, Judah will become a different man:

  • He will take responsibility.
  • He will offer himself for Benjamin.
  • He will show leadership and self-sacrifice.

Therefore, Genesis 38 may represent one of the painful moments that helped expose Judah’s heart and begin his transformation.

God can use confrontation to change us.

Perez and Zerah Were Born

Tamar gave birth to twins: Perez and Zerah.

Perez becomes extremely important in the biblical story.

From Perez came the family line that eventually led to David.

And from David’s line came Jesus Christ.

Matthew 1 specifically includes Tamar.

That is remarkable.

God’s redemptive plan moved forward through a deeply flawed family story.

Again, this does not excuse sin.

It magnifies grace.

Genesis 39 Returns to Joseph

After the troubled story of Judah, Genesis 39 returns to Joseph.

He had been sold into Egypt.

Genesis says:

“And Joseph was brought down to Egypt.”

From a human perspective, Joseph’s situation looked terrible.

He had been betrayed.

Sold.

Separated from his family.

Now he was a slave in a foreign land.

But then Scripture says something much more important:

“And the LORD was with Joseph.” — Genesis 39:2

God Was With Joseph

This phrase defines the chapter.

Joseph had lost nearly everything familiar.

But he had not lost God.

He was no longer in Jacob’s tent:

  • No longer wearing the special coat.
  • No longer near his brothers.
  • No longer free.

Yet:

The LORD was with Joseph.

That changes everything.

God’s Presence Is Greater Than Circumstances

We often measure God’s favor by comfort:

  • If life is easy, we assume God is blessing.
  • If life is difficult, we wonder whether God has left us.

Joseph’s story challenges that thinking.

He was a slave.

Yet the LORD was with him.

Later, Joseph would be in prison.

Yet the LORD would still be with him.

Therefore, difficult circumstances do not prove God’s absence.

Joseph Served Potiphar

Potiphar was an officer of Pharaoh and captain of the guard.

Joseph served in his household.

Genesis says Potiphar noticed:

“That the LORD was with him.”

Joseph’s faithfulness became visible.

The Lord prospered Joseph’s work.

As a result, Potiphar promoted him.

Eventually, Joseph managed the entire household.

Faithfulness Is a Witness

Joseph could have become bitter.

He could have said:

  • “My brothers betrayed me.”
  • “I did not choose Egypt.”
  • “I should not be here.”

Therefore, why should I work hard?

Instead, Joseph served faithfully.

His circumstances were unjust.

But his conduct was still honorable.

That is powerful.

We may not control where we serve.

But we do control how we serve.

God Blessed Potiphar Because of Joseph

Genesis says:

“The LORD blessed the Egyptian’s house for Joseph’s sake.” — Genesis 39:5

Joseph’s presence brought blessing to those around him.

That echoes what we saw with Jacob and Laban.

God’s people should bring something good into the places where they live and work.

Honesty.

Dependability.

Kindness.

Wisdom.

Integrity.

Good work.

Peace.

A believer’s presence should make a difference.

Joseph Was Tempted

Genesis 39 then shifts dramatically.

Potiphar’s wife attempted to seduce Joseph.

This was not a one-time temptation.

Genesis says:

“She spake to Joseph day by day.” — Genesis 39:10

That matters.

Some temptations are persistent.

They return.

Again and again.

Therefore, resisting temptation sometimes means repeated obedience, not one dramatic victory.

Joseph Said No

Joseph refused.

His response is one of the strongest statements of integrity in Genesis.

He explained that Potiphar trusted him with everything in the household.

Then Joseph said:

“How then can I do this great wickedness, and sin against God?” — Genesis 39:9

Notice his reasoning.

Joseph thought about trust.

He thought about morality.

Most importantly, Joseph thought about God.

Sin Is Ultimately Against God

Joseph did not ask:

“Can I get away with this?”

He asked:

“How can I sin against God?”

That is a major difference.

If our only standard is whether someone sees us, secrecy becomes dangerous.

But if we live before God, then hidden behavior matters.

Integrity means we are the same person when no one else is watching.

Joseph Refused Repeatedly

Joseph did not flirt with temptation.

He did not negotiate with it.

Joseph refused.

Genesis says:

“He hearkened not unto her.”

Then it adds that he would not:

“Be with her.”

Joseph understood something important.

Sometimes the safest response to temptation is distance.

Flee Temptation

One day Potiphar’s wife grabbed Joseph’s garment.

Joseph did not stand there and argue.

He fled.

Genesis says:

“He left his garment in her hand, and fled, and got him out.” — Genesis 39:12

That is a good picture of how to handle certain temptations.

Paul later wrote:

“Flee also youthful lusts.” — 2 Timothy 2:22

Some temptations are not meant to be studied.

They are meant to be escaped.

Sometimes Running Is Courage

We often associate courage with standing firm.

But sometimes courage means leaving.

Joseph ran because holiness mattered more than appearance.

He lost his garment.

But he kept his integrity.

That is a good trade.

Joseph Was Falsely Accused

Potiphar’s wife then used Joseph’s garment as false evidence.

She accused Joseph of the very wrongdoing he had refused to commit.

This is deeply unjust.

Joseph did the right thing.

And he suffered because of it.

That is difficult to accept.

We sometimes assume:

“If I do what is right, everything will work out immediately.”

Joseph’s story says otherwise.

Sometimes righteousness costs us.

Doing Right Does Not Always Bring Immediate Reward

Joseph resisted temptation.

His reward?

Prison.

At least initially.

That seems backward.

But the story is not finished.

God does not promise that doing right will always make life easier in the short term.

He does promise that faithfulness matters.

Potiphar Put Joseph in Prison

Joseph was placed in the prison where the king’s prisoners were held.

Once again, Joseph’s circumstances became worse.

First the pit.

Then slavery.

Now prison.

Yet Genesis repeats:

“But the LORD was with Joseph.” — Genesis 39:21

That is the central truth.

The location changed.

God did not.

The LORD Was With Joseph in Prison

The chapter says:

“And shewed him mercy.”

God gave Joseph favor with the prison keeper.

Soon Joseph was entrusted with responsibilities in the prison.

Just as Potiphar had trusted him with the house, the keeper trusted him with the prisoners.

Why?

Because:

“The LORD was with him.”

Joseph Carried His Character with Him

Joseph was faithful in Potiphar’s house.

Then he was faithful in prison.

His environment changed.

But his character did not.

That is genuine integrity.

Some people behave well only when the environment is favorable.

But Joseph remained faithful in both privilege and injustice.

Judah and Joseph: Two Roads

Genesis 38 and 39 create a striking contrast.

Judah moved toward temptation.

Joseph ran from temptation.

Judah acted in secrecy.

Joseph lived before God.

Judah initially condemned someone else while ignoring his own sin.

Joseph judged his own conduct by God’s standard.

Judah’s choices brought shame.

Joseph’s choices brought suffering—but preserved integrity.

Both men would ultimately experience grace.

But their roads in these chapters are very different.

Two Choices

Every day we make choices that shape character.

The great moral moments of life often grow out of smaller daily decisions.

Judah drifted.

Joseph refused.

Judah compromised.

Joseph fled.

Character is built one choice at a time.

Temptation Usually Begins Before the Crisis

Joseph was ready when the crisis came because he had already decided where he stood.

He knew:

“This would be wicked.”

He knew:

“This would be sin against God.”

Therefore, when the moment came, his decision was already clear.

That is wise.

Decide before temptation arrives.

Settle Your Convictions Early

Do not wait until the pressure comes to decide what you believe.

Decide now:

  • I will tell the truth.
  • I will remain faithful to my spouse.
  • I will not steal.
  • I will not misuse money.
  • I will not compromise my convictions for approval.
  • I will not hide sinful behavior.
  • I will honor Christ.

Convictions formed in calm moments help us survive pressured moments.

Guard the Heart

Proverbs 4:23 says:

“Keep thy heart with all diligence; for out of it are the issues of life.”

Joseph guarded his heart.

Judah did not.

External actions eventually reveal internal direction.

Therefore, spiritual life must begin with the heart.

God Always Provides a Way to Obey

Paul writes:

“God is faithful, who will not suffer you to be tempted above that ye are able.” — 1 Corinthians 10:13

Temptation is real.

But so is God’s faithfulness.

Sometimes the way of escape is:

  • prayer.
  • accountability.
  • distance.
  • changing routines.
  • walking away.

Joseph’s escape route was a door.

He used it.

Don’t Stay Where You Should Flee

Many people ask:

“How close can I get without sinning?”

That is usually the wrong question.

A better question is:

“What helps me remain faithful to God?”

Joseph did not ask how long he could stay in the room.

He ran.

Wisdom does not play games with temptation.

Integrity May Cost You

Joseph’s refusal cost him his position.

His reputation was attacked and his freedom was taken.

Yet he kept something far more valuable:

His integrity before God.

Character is worth protecting.

Reputation and Character Are Not the Same

Reputation is what people think you are.

Character is what God knows you are.

Joseph’s reputation temporarily suffered.

His character remained strong.

We should care about a good name.

But sometimes people will misunderstand or falsely accuse us.

In those moments, our responsibility is to remain faithful.

God Sees What Others Do Not

Potiphar’s wife lied about Joseph.

Potiphar believed enough of the accusation to imprison him.

But God knew the truth.

That is comforting.

There may be moments when you cannot convince everyone.

God knows:

  • He sees motives.
  • He sees hidden faithfulness.
  • He sees false accusations.
  • He sees truth.

The Prison Was Not the End

If Genesis 39 ended the story forever, Joseph’s faithfulness would appear unrewarded.

But prison becomes the next step toward Pharaoh’s palace.

Again, God is using circumstances Joseph would never have chosen.

The prison will introduce Joseph to people connected to Pharaoh.

What looks like a setback will become a bridge.

God’s Providence Is Often Hidden

Joseph could not yet see the pattern.

Pit.

Slavery.

Promotion.

False accusation.

Prison.

Promotion again.

It seemed like repeated disruption.

But God was positioning him.

We often see disconnected pieces.

God sees the whole picture.

Judah Needed Grace

Genesis 38 exposes Judah’s failures.

Yet God did not discard Judah.

Later, Judah changes.

And eventually, the royal line runs through him.

Revelation calls Jesus:

“The Lion of the tribe of Juda.” — Revelation 5:5

That is grace.

God can transform a deeply flawed man and still use his life.

Joseph Needed Grace Too

Joseph’s moral integrity in Genesis 39 is admirable.

But Joseph was not sinless.

Only Christ is.

Joseph’s story teaches faithfulness.

Christ gives salvation.

We should imitate Joseph’s integrity.

But we trust Jesus for righteousness.

Jesus and Temptation

Joseph resisted temptation in Egypt.

Jesus resisted temptation in the wilderness.

And Jesus remained completely faithful to the Father.

He faced temptation yet never sinned.

Hebrews says Christ was:

“In all points tempted like as we are, yet without sin.” — Hebrews 4:15

Therefore, when we are tempted, we do not merely look to Joseph’s example.

We look to Christ for strength and mercy.

Jesus and False Accusation

Joseph was falsely accused.

Jesus was also falsely accused.

False witnesses testified against Him.

Yet Jesus remained faithful.

Ultimately, Christ suffered unjustly for our sins.

Joseph’s suffering eventually helped preserve lives.

Christ’s suffering brings eternal salvation.

What Genesis 38–39 Means for Us

1. Unaddressed Sin Creates Complicated Consequences

Judah’s family life became increasingly troubled.

Sin rarely remains isolated.

2. Delayed Responsibility Can Become Disobedience

Judah failed to fulfill what he had promised Tamar.

Avoidance can harm others.

3. Hidden Sin Is Never Truly Hidden

Judah thought his actions would remain private.

They did not.

God sees what is done in secret.

4. We Must Guard Against Hypocrisy

Judah quickly condemned Tamar before recognizing his own guilt.

Examine yourself before condemning others.

5. Confession Can Become a Turning Point

Judah admitted:

“She hath been more righteous than I.”

Honest confession opens the door to change.

6. God’s Grace Can Work Through Broken Stories

Perez came from a deeply flawed situation.

Yet God used his family line in the story leading to Christ.

7. Difficult Circumstances Do Not Mean God Has Left

Joseph was a slave.

Then a prisoner.

Still:

“The LORD was with Joseph.”

8. Faithfulness Matters in Ordinary Work

Joseph served Potiphar well.

His integrity became visible.

9. Temptation Must Be Taken Seriously

Joseph refused repeatedly and eventually fled.

Sometimes the wisest spiritual response is immediate distance.

10. Sin Is Ultimately Against God

Joseph asked:

“How can I do this… and sin against God?”

That perspective protects integrity.

11. Doing Right May Cost Us

Joseph’s obedience led temporarily to prison.

Faithfulness is not always rewarded immediately.

12. Character Matters More Than Reputation

Joseph was falsely accused.

God knew the truth.

What Will You Do When No One Is Watching?

That may be one of the central questions of Genesis 39.

Joseph believed God was watching.

Therefore, secrecy did not change the moral issue.

The real question was not:

“Will Potiphar know?”

It was:

“Will this honor God?”

That is integrity.

The Private Life Eventually Becomes Public

Judah’s secret came into the open.

Joseph’s private integrity eventually became known as well.

What we do in hidden places matters.

Private habits shape public character.

Therefore, do not build a life you would be ashamed to have exposed.

Two Men, Two Directions

Judah moved toward compromise.

Joseph moved away from temptation.

Judah initially hid.

Joseph remained honest.

Judah was confronted by his sin.

Joseph was punished for righteousness.

Yet God was working in both lives.

One needed repentance.

The other needed endurance.

Sometimes we need Judah’s lesson and sometimes we need Joseph’s.

When You Need to Run

There are moments when spiritual maturity means standing firm.

There are other moments when it means running:

  • Run from pornography.
  • Run from adultery.
  • Run from financial dishonesty.
  • Run from gossip.
  • Run from situations that repeatedly weaken your convictions.
  • Run toward Christ.

Fleeing temptation is not cowardice.

It is wisdom.

When Doing Right Feels Like It Made Things Worse

Joseph probably had every reason to wonder:

“I obeyed God, and now I am in prison.”

Perhaps you have experienced something similar:

  • You told the truth and lost the relationship.
  • You refused something unethical and lost the opportunity.
  • You remained faithful and were misunderstood.
  • You did the right thing and life became harder.

Joseph reminds us:

The immediate result is not the final result.

God is still at work.

The LORD Was With Joseph

Genesis 39 repeats this truth at the beginning and end.

That repetition is intentional.

Joseph’s success was not ultimately because he was talented.

His endurance was not merely because he was strong.

The decisive truth was:

“The LORD was with Joseph.”

That same God is with His people today.

Jesus said:

“Lo, I am with you alway.” — Matthew 28:20

Circumstances change.

Christ does not.

WIM Takeaway

Genesis 38–39 places Judah and Joseph on two very different moral roads. Judah’s compromise, avoidance, and hypocrisy produced painful consequences, while Joseph chose faithfulness, resisted temptation, and maintained integrity even when obedience cost him his freedom. Yet God’s grace was at work in both stories. Therefore, we should confess sin honestly, guard our hearts, flee temptation, choose integrity, and remember that difficult circumstances do not mean God has abandoned us.

Questions for Reflection

  1. What mistakes did Judah make in Genesis 38?
  2. How did Judah’s failure to keep his promise affect Tamar?
  3. Why is avoiding responsibility still a choice?
  4. What did Tamar’s evidence force Judah to recognize?
  5. Why was Judah’s confession important?
  6. How does Judah’s later role in Scripture demonstrate God’s grace?
  7. What does the repeated phrase “the LORD was with Joseph” teach us?
  8. How did Joseph’s faithfulness affect Potiphar’s household?
  9. What made Joseph’s response to temptation so strong?
  10. Why did Joseph describe the temptation as a sin against God?
  11. What does Joseph’s example teach us about fleeing temptation?
  12. Why might doing the right thing sometimes make life harder temporarily?
  13. Which matters more: reputation or character?
  14. Is there an area where you need to be more like Joseph and simply run from temptation?
  15. Is there an area where you need to be more like Judah and honestly confess your failure?

<<Back to the Book of Genesis


Want to dive deeper into Genesis? Get Pastor Alan’s Book, Genesis: The God of Beginnings, Promise, and Providence: 

Dr. Alan Holden has served in pastoral ministry for more than 35 years, preaching and teaching the Bible in churches across the United States. He holds a Doctor of Ministry from Luther Rice Seminary and a Master of Divinity from The Southern Baptist Theological Seminary. Through What’s It Mean?, he seeks to help readers understand the meaning of Scripture and grow in their walk with Christ. He is currently the pastor of Lake Saunders Baptist Church in Tavares, FL.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.