"The idea of the new covenant is based chiefly upon Jeremiah 31:31–34
I, the Lord, search the heart, I test the mind, even to give to each man according to his ways, according to the results of his deeds (Jeremiah 17:9)