Types and Antitypes
I found this is Northrup Frye's book, The Great Code, the Bible as Literature. He might have called it the Bible as Poetry. I paid special attention to Chapter 4 Typology I and Chapter 5 Typology II.
Here are some types and antitypes:
Type: Moses delivered the Hebrews from slavery in Egypt
Antitype: Jesus delivered Christians from slavery to sin.
In Luke 9-29-31 we have:
"29 And as he was praying, the appearance of his face was altered, and his clothing became dazzling white. And behold, two men were talking with him, Moses and Elijah, who appeared in glory and spoke of his departure,[a] which he was about to accomplish at Jerusalem. ( Luke 9:29-31 ESV). Another translation reads "his Exodus which he was about to achieve at Jerusalem".
So you could also say:
Type: Exodus from Egypt
Antitype: deliverance from sin.
Almost every word of the New Testament relates (in the same sort of way) to something in the Old Testament. The Hebrew Christians of the first century were anxious to be accepted as good Jews.