“Now therefore let Pharaoh select a discerning and wise man, and set him over the land of Egypt. Let Pharaoh proceed to appoint overseers over the land and take one-fifth of the produce of the land of Egypt during the seven plentiful years. And let them gather all the food of these good years that are coming and store up grain under the authority of Pharaoh for food in the cities, and let them keep it. That food shall be a reserve for the land against the seven years of famine that are to occur in the land of Egypt, so that the land may not perish through the famine.” This proposal pleased Pharaoh and all his servants. And Pharaoh said to his servants, “Can we find a man like this, in whom is the Spirit of God?” Then Pharaoh said to Joseph, “Since God has shown you all this, there is none so discerning and wise as you are. You shall be over my house, and all my people shall order themselves as you command. Only as regards the throne will I be greater than you.” And Pharaoh said to Joseph, “See, I have set you over all the land of Egypt.” Then Pharaoh took his signet ring from his hand and put it on Joseph’s hand, and clothed him in garments of fine linen and put a gold chain about his neck. And he made him ride in his second chariot. And they called out before him, “Bow the knee!” Thus he set him over all the land of Egypt. Moreover, Pharaoh said to Joseph, “I am Pharaoh, and without your consent no one shall lift up hand or foot in all the land of Egypt.” And Pharaoh called Joseph’s name Zaphenath-paneah. And he gave him in marriage Asenath, the daughter of Potiphera priest of On. So Joseph went out over the land of Egypt. Joseph was thirty years old when he entered the service of Pharaoh king of Egypt. And Joseph went out from the presence of Pharaoh and went through all the land of Egypt.” Genesis 41:33-46 ESV
He (Jesus) was given all authority of Heaven and Earth, however, He is still subject to God (the Father) from whom all things come.