Three times we are told in Genesis chapter 39 that the LORD was with Joseph:
THE FIRST TIME
In Genesis 39:2 it says, “The LORD was with Joseph and he prospered, …”
THE SECOND TIME
In Genesis 39:21 we read, “The LORD was with him; he showed him kindness and granted him favor in the eyes of the prison warden.”
THE THIRD TIME
In Genesis 39:23 we are told, “Because the LORD was with Joseph and gave him success in whatever he did.”
Let us summarize:
Joseph prospered, the Lord showed him kindness, granted him favor and gave him success in whatever he did.