It seems Joseph may prefigure Christ, especially when we consider that his own brothers (Israelites) betrayed him, selling him as a slave:
Genesis 37:28: "Then some Midianite traders passed by, so they pulled him up and lifted Joseph out of the pit, and sold him to the Ishmaelites for twenty shekels of silver."
If Joseph is a foreshadow, is it possible to reconcile the 20 shekels of silver with the 30 pieces of silver paid to betray Christ? (Matt. 26:15).