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.

Romans 5:13

5:13 for before the law was given, sin was in the world, but there is no accounting for sin when there is no law.