After tracing the origin of sin and death and their entry into the world, the Apostle now clarifies what he has said.
First, he explains his statement;
second, he clarifies the comparison he suggested, when he said: wherefore as by one man (Rom 5:12);
third, he explains it, at who is a figure of him who was to come.
Now he had stated that sin and death passed on to all men. Here, in line with Augustine's exposition, he intends to explain this by the fact that sin remained even under the law, implying that it was unable to expel it.
In regard to this he does two things:
first, he explains his s...tatement as far as sin is concerned;
second, as far as death is concerned, at but death reigned.
In regard to the first he does two things:
first, he shows that sin existed under the law;
second, what the law did in regard to sin, at but sin was not imputed.
First, therefore, he says: it has been stated that all have sinned in Adam, because even the law did not take away sin. Until the law, i.e., even under the law, as until is taken inclusively, sin was in the world. This can be understood of the natural law and the law of Moses; similarly, of actual sin and original sin.
For original sin was in the child until the law of nature, i.e., until he reached the use of reason through which man adverts to these laws: in sins did my mother conceive me (Ps 51:5). Nor does this sin pass away with the coming of the natural law in a man; rather, it grows through the addition of actual sin, because, as stated in Ecclesiastes: there is not a just man on earth who does good and never sins (Eccl 7:20).
But if we understand it of the law of Moses, then the statement that sin was in the world until the law can be understood not only of original sin but also of actual, because both sins continued in the world before the law and under the law: who can say: I have made my heart clean? (Prov 20:9).
But although the law did not remove sin, it produced knowledge of sin which previously was not recognized.
Hence he continues, but sin was not imputed. This is obvious, if it is understood of the natural law. For although original sin is in the child before the natural law and is counted against him by God, it was not imputed to him by men.
But if it be understood of the law of Moses, it is clear that some actual sins were not imputed before the law, as those which are specifically forbidden by the law, which men did not regard as sins; for example, you shall not covet (Exod 20:17). But certain sins were imputed, inasmuch as they were against the law of nature. Hence, Joseph is sent to prison on a charge of adultery (Gen 39:11ff.).
Source: Commentary on Romans