Joseph was an extraordinary type of Jesus Christ. His life and character parallels Christ's in at least 16 ways, which God purposefully foreordained.
No one has felt more rejection than Jesus Christ. He was rejected by those of His hometown, and His own physical brothers rejected Him because they did not believe.
It is easy to follow in Satan's footsteps, courting his daughter Envy, reaping the disquiet which accompanies her. Envy comes from pushing God from our thoughts.