18 Then the angel of the Lord commanded Gad to say to David, that David should go up, and set up an altar unto the Lord in the threshingfloor of Ornan the Jebusite.
English Standard Version
18 Now the angel of the Lord had commanded Gad to say to David that David should go up and raise an altar to the Lord on the threshing floor of Ornan the Jebusite.
18 The angel of God ordered Gad to tell David to go and build an altar to God on the threshing floor of Araunah the Jebusite.
New King James Version
18 Therefore, the angel of the Lord commanded Gad to say to David that David should go and erect an altar to the Lord on the threshing floor of Ornan the Jebusite.
New Living Translation
18 Then the angel of the Lord told Gad to instruct David to go up and build an altar to the Lord on the threshing floor of Araunah the Jebusite.
Matthew Henry's Commentary on 1 Chronicles 21:18
David's numbering the people.
No mention is made in this book of David's sin in the matter of Uriah, neither of the troubles that followed it: they had no needful connexion with the subjects here noted. But David's sin, in numbering the people, is related: in the atonement made for that sin, there was notice of the place on which the temple should be built. The command to David to build an altar, was a blessed token of reconciliation. God testified his acceptance of David's offerings on this altar. Thus Christ was made sin, and a curse for us; it pleased the Lord to bruise him, that through him, God might be to us, not a consuming Fire, but a reconciled God. It is good to continue attendance on those ordinances in which we have experienced the tokens of God's presence, and have found that he is with us of a truth. Here God graciously met me, therefore I will still expect to meet him.