Numbering the people, one would think, was no bad thing. Why should not the shepherd know the number of his flock? But God sees not as man sees. It is plain it was wrong in David to do it, and a great provocation to God, because he did it in the pride of his heart; and there is no sin that has in it more of contradiction and therefore more of offence to God than pride. The sin was David’s; he alone must bear the blame of it. But here we are told,

I. How active the tempter was in it (1 Chron. 21:1): Satan stood up against Israel, and provoked David to do it. Isa. is said (2 Sam. 24:1) that the anger of the Lord was kindled against Israel, and he moved David to do it. The righteous judgments of God are to be observed and acknowledged even in the sins and unrighteousness of men. We are sure that God is not the author of sin—he tempts no man; and therefore, when it is said that he moved David to do it, it must be explained by what is intimated here, that, for wise and holy ends, he permitted the devil to do it. Here we trace this foul stream to its foundation. That Satan, the enemy of God and all good, should stand up against Israel, is not strange; it is what he aims at, to weaken the strength, diminish the numbers, and eclipse the glory of God’s Israel, to whom he is Satan, a sworn adversary. But that he should influence David, the man of God’s own heart to do a wrong thing, may well be wondered at. One would think him one of those whom the wicked one touches not. No, even the best saints, till they come to heaven, must never think themselves out of the reach of Satan’s temptations. Now, when Satan meant to do Israel a mischief, what course did he take? He did not move God against them to destroy them (as Job, Job 2:3), but he provoked David, the best friend they had, to number them, and so to offend God, and set him against them. Note, 1. The devil does us more mischief by tempting us to sin against our God than he does by accusing us before our God. He destroys none but by their own hands, 2. The greatest spite he can do to the church of God is to tempt the rulers of the church to pride; for none can conceive the fatal consequences of that sin in all, especially in church-rulers. You shall not be so, Luke 22:26.

II. How passive the instrument was. Joab, the person whom David employed, was an active man in public business; but to this he was perfectly forced, and did it with the greatest reluctance imaginable.

1. He put in a remonstrance against it before he began it. No man more forward that he in any thing that really tended to the honour of the king or the welfare of the kingdom; but in this matter he would gladly be excused. For, (1.) It was a needless thing. There was not occasion at all for it. God had promised to multiply them, and he needed not question the accomplishment of that promise. They were all his servants, and he needed not doubt of their loyalty and affection to him. Their number was as much his strength as he could desire. (2.) It was a dangerous thing. In doing it he might be a cause of trespass to Israel, and might provoke God against them. This Joab apprehended, and yet David himself did not. The most learned in the laws of God are not always the most quick-sighted in the application of those laws.

2. He was quite weary of it before he had done it; for the king’s word was abominable to Joab, 1 Chron. 21:6. Time was when whatever king David did pleased all the people, 2 Sam. 3:36. But now there was a general disgust at these orders, which confirmed Joab in his dislike of them, so that, though the produce of this muster was really very great, yet he had no heart to perfect it, but left two tribes unnumbered (1 Chron. 21:5, 6), two considerable ones, Levi and Benjamin, and perhaps was not very exact in numbering the rest, because he did not do it with any pleasure, which might be one occasion of the difference between the sums here and 2 Sam. 24:9.