Romans 2:15
13 For it is not those who hear the law who are righteous before God, but those who do the law will be declared righteous. 14 For whenever the Gentiles, who do not have the law, do by nature the things required by the law, these who do not have the law are a law to themselves. 15 They show that the work of the law is written in their hearts, as their conscience bears witness and their conflicting thoughts accuse or else defend them, 16 on the day when God will judge the secrets of human hearts, according to my gospel through Christ Jesus. 17 But if you call yourself a Jew and rely on the law and boast of your relationship to God
2 Baruch 48:40
Syriac Apocalypse of Baruch38 And it shall come to pass at the self-same time, That a change of times shall manifestly appear to every man, Because in all those times they polluted themselves And they practised oppression, And walked every man in his own works, And remembered not the law of the Mighty One. 39 Therefore a fire shall consume their thoughts, And in flame shall the meditations of their kidneys be tried; For the Judge shall come and will not tarry. 40 Because each of the inhabitants of the earth knew when he was transgressing. But My Law they knew not by reason of their pride. 41 But many shall then assuredly weep, Yea, over the living more than over the dead.' 42 And I answered and said: 'O Adam, what hast thou done to all those who are born from thee? And what will be said to the first Eve who hearkened to the serpent?
Notes and References
"... Paul’s argument about the culpability of all human beings resembles the universal claims made by the angel Uriel in 4 Ezra 7:21–23 ... Similarly, 2 Baruch condemns all humankind for failing to acknowledge God’s law: “Because every one of the inhabitants of the earth knew when he acted unjustly, but my Torah they did not know because of their pride” (48:40; compare 4 Ezra 7:72) ..."
Hogan, Karina M. "The Apocalyptic Eschatology of Romans" in Stuckenbruck, Loren T. (ed.) The Jewish Apocalyptic Tradition and the Shaping of New Testament Thought (pp. 155-174) Fortress Press, 2017