Sin was in the world before the law of Moses. But God does not judge people guilty of sin if there is no law.