In "Biblical Perspective" Dr. Gordon Snider makes these comments...
His master saw that the LORD was with him. How did this heathen officer recognize the presence of the Lord? It seems likely that Joseph’s success was so remarkable that Potiphar asked for an explanation, and Joseph was quick to point to his God. From the beginning there was no bitterness toward God in Joseph for his circumstances. Bitter people seldom, if ever, make successful people. The LORD made all . . . to prosper. Joseph was not a “flash in the pan.” His success was an ongoing thing because God was constantly with him. Joseph turned out to be a better witness to his owner than he had been to his brothers. Such, sometimes, is the result of adversity.
Discussion: Are we careful to point to God as the reason for our success in life?
Source: Biblical Family Values, Adult Teacher's Insights, page 17.