See Jeremiah 31:31-34 and Luke 22:14-23. This is language first used in Jeremiah's promise of rescue and renewal of the exiled people of God in Babylon. It promises a coming day when God would make a new covenant unlike the one which Israel had broken.
Matthew 19:9 9 And I say to you: whoever divorces his wife, except for sexual immorality, and marries another, commits adultery.”
For the Lord your God is a merciful God. He will not leave you or destroy you or forget the covenant with your fathers...
We have this hope as an anchor for the soul, firm and secure. It enters the inner sanctuary behind the curtain,