Old Testament readings use the Septuagint , the Scripture the apostles quoted. Masoretic numbering shown for reference.Learn why
LXX

Genesis 39:21

And the Lord was with Joseph, and poured down mercy upon him; and he gave him favour in the sight of the chief keeper of the prison.

Read in other translations