Book of Jasher 49:38

Book of Jashar (English)

And Joseph was thirty years old when he stood before Pharaoh, and Joseph went out from before the king, and he became the king's second in Egypt.

Additional Resources