1 Maccabees 2:53

53 Joseph in the time of his distress kept the commandment, and became lord of Egypt.

1 Maccabees 2:53 In-Context

51 "Remember the deeds of the ancestors, which they did in their generations; and you will receive great honor and an everlasting name.
52 Was not Abraham found faithful when tested, and it was reckoned to him as righteousness?
53 Joseph in the time of his distress kept the commandment, and became lord of Egypt.
54 Phinehas our ancestor, because he was deeply zealous, received the covenant of everlasting priesthood.
55 Joshua, because he fulfilled the command, became a judge in Israel.