Romans 2:12-16 discusses the difference between knowing about God and obeying God. Everyone knows right from wrong. The problem is everyone does what is wrong. God will judge all sin, it is just a matter of whether he judges your sin on yourself or on Jesus.