Romans 2:12-13
2:12 For all who have sinned apart from the law will also perish apart from the law, and all who have sinned under the law will be judged by the law.
2: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.