Sin was in the world before the law of Moses, but sin is not counted against us as breaking a command when there is no law.