Then Pharaoh sent and called for Joseph. So they quickly fetched him from the pit. He shaved, changed his clothes, and came to Pharaoh.
Genesis 41:14 TLV
Pharaoh's servants took Joseph out of the dungeon, but Joseph himself took the time to shave and make himself presentable. He showed respect to a despotic, abusive tyrant no matter how he might have felt personally.