Genesis 39:2-5
39:2 The Lord was with Joseph. He was successful and lived in the household of his Egyptian master.
39:3 His master observed that the Lord was with him and that the Lord made everything he was doing successful.
39:4 So Joseph found favor in his sight and became his personal attendant. Potiphar appointed Joseph overseer of his household and put him in charge of everything he owned.
39:5 From the time Potiphar appointed him over his household and over all that he owned, the Lord blessed the Egyptian’s household for Joseph’s sake. The blessing of the Lord was on everything that he had, both in his house and in his fields.
Genesis 39:22-23
39:22 The warden put all the prisoners under Joseph’s care. He was in charge of whatever they were doing.
39:23 The warden did not concern himself with anything that was in Joseph’s care because the Lord was with him and whatever he was doing the Lord was making successful.