Now God had brought Daniel into favour and tender love with the prince of the eunuchs.
He said, "Your name shall no longer be Jacob, but Israel; for you have striven with God and with men and have prevailed."
But the LORD was with Joseph and extended kindness to him, and gave him favor in the sight of the chief jailer.
1 Kings 8:50
and forgive Your people who have sinned against You and all their transgressions which they have transgressed against You, and make them [objects of] compassion before those who have taken them captive, that they may have compassion on them
Blessed be the LORD, the God of our fathers, who has put [such a thing] as this in the king's heart, to adorn the house of the LORD which is in Jerusalem,
and has extended lovingkindness to me before the king and his counselors and before all the king's mighty princes. Thus I was strengthened according to the hand of the LORD my God upon me, and I gathered leading men from Israel to go up with me.
"O Lord, I beseech You, may Your ear be attentive to the prayer of Your servant and the prayer of Your servants who delight to revere Your name, and make Your servant successful today and grant him compassion before this man." Now I was the cupbearer to the king.
Then the king said to me, "What would you request?" So I prayed to the God of heaven.
But know that the LORD has set apart the godly man for Himself; The LORD hears when I call to Him.
He also made them [objects] of compassion In the presence of all their captors.
When a man's ways are pleasing to the LORD, He makes even his enemies to be at peace with him.
and rescued him from all his afflictions, and granted him favor and wisdom in the sight of Pharaoh, king of Egypt, and he made him governor over Egypt and all his household.