19. As the Lord commanded Moses, &c.--The numbering of the people was not an act sinful in itself, as Moses did it by divine appointment; but David incurred guilt by doing it without the authority of God. (See on 2Sa 24:10).
JFB.
Picture Study Bible