Now God had brought Daniel into favour and tender love with the prince of the eunuchs.
And he said, Thy name shall be called no more Jacob, but Israel: for as a prince hast thou power with God and with men, and hast prevailed.
But the LORD was with Joseph, and shewed him mercy, and gave him favour in the sight of the keeper of the prison.
1 Kings 8:50
And forgive thy people that have sinned against thee, and all their transgressions wherein they have transgressed against thee, and give them compassion before them who carried them captive, that they may have compassion on them:
Blessed be the LORD God of our fathers, which hath put such a thing as this in the king's heart, to beautify the house of the LORD which is in Jerusalem:
And hath extended mercy unto me before the king, and his counsellors, and before all the king's mighty princes. And I was strengthened as the hand of the LORD my God was upon me, and I gathered together out of Israel chief men to go up with me.
O Lord, I beseech thee, let now thine ear be attentive to the prayer of thy servant, and to the prayer of thy servants, who desire to fear thy name: and prosper, I pray thee, thy servant this day, and grant him mercy in the sight of this man. For I was the king's cupbearer.
Then the king said unto me, For what dost thou make request? So I prayed to the God of heaven.
But know that the LORD hath set apart him that is godly for himself: the LORD will hear when I call unto him.
He made them also to be pitied of all those that carried them captives.
When a man's ways please the LORD, he maketh even his enemies to be at peace with him.
And delivered him out of all his afflictions, and gave him favour and wisdom in the sight of Pharaoh king of Egypt; and he made him governor over Egypt and all his house.