Genesis 37:2-11 These are the generations of Jacob. Joseph, being seventeen years old, was feeding the flock with his brethren; and the lad was with the sons of Bilhah, and with the sons of Zilpah, his father’s wives: and Joseph brought unto his father their evil report. 3 Now Israel loved Joseph more than all his children, because he was the son of his old age: and he made him a coat of many colours. 4 And when his brethren saw that their father loved him more than all his brethren, they hated him, and could not speak peaceably unto him. 5 And Joseph dreamed a dream, and he told it his brethren: and they hated him yet the more. 6 And he said unto them, Hear, I pray you, this dream which I have dreamed: 7 For, behold, we were binding sheaves in the field, and, lo, my sheaf arose, and also stood upright; and, behold, your sheaves stood round about, and made obeisance to my sheaf. 8 And his brethren said to him, Shalt thou indeed reign over us? or shalt thou indeed have dominion over us? And they hated him yet the more for his dreams, and for his words. 9 And he dreamed yet another dream, and told it his brethren, and said, Behold, I have dreamed a dream more; and, behold, the sun and the moon and the eleven stars made obeisance to me. 10 And he told it to his father, and to his brethren: and his father rebuked him, and said unto him, What is this dream that thou hast dreamed? Shall I and thy mother and thy brethren indeed come to bow down ourselves to thee to the earth? 11 And his brethren envied him; but his father observed the saying.
Joseph was hated of his brethren because they envied him.
Acts 7:9 And the patriarchs, moved with envy, sold Joseph into Egypt: but God was with him,
Jesus was hated of the Jewish rulers because they envied him.
Matthew 27:18 For he (Pilate) knew that for envy they had delivered him.
Mark 15:10 For he knew that the chief priests had delivered him for envy.
God used the envy of Joseph’s brethren to save Jacob and his family.
Genesis 50:19-20 And Joseph said unto them, Fear not: for am I in the place of God? 20 But as for you, ye thought evil against me; but God meant it unto good, to bring to pass, as it is this day, to save much people alive.
Christ’s sacrificial life, death, and resurrection was necessary to save the lives of the faithful.
John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.
Joseph was made ruler of all that belonged to Pharaoh.
Genesis 41:40 Thou shalt be over my house, and according unto thy word shall all my people be ruled: only in the throne will I be greater than thou.
Jesus has been made ruler of all that belongs to God.
Matthew 28:18 And Jesus came and spake unto them, saying, All power is given unto me in heaven and in earth.
1 Peter 3:22 Who is gone into heaven, and is on the right hand of God; angels and authorities and powers being made subject unto him.
As Joseph was subject to Pharaoh, so Jesus is subject to his Father.
1 Corinthians 15:28 And when all things shall be subdued unto him, then shall the Son also himself be subject unto him that put all things under him, that God may be all in all.
As Joseph was reconciled to his brethren so Jesus will be reconciled to the Jews when he returns.
Zechariah 12:10 And I will pour upon the house of David, and upon the inhabitants of Jerusalem, the spirit of grace and of supplications: and they shall look upon me whom they have pierced, and they shall mourn for him, as one mourneth for his only son, and shall be in bitterness for him, as one that is in bitterness for his firstborn.
I hope you find this helpful.