1 Chronicles 21:15-25

15 And God sent an angel to Jerusalem to destroy it. As he was destroying, the Lord looked and relented of the disaster, and said to the angel who was destroying, "It is enough; now restrain your hand." And the angel of the Lord stood by the threshing floor of Ornan the Jebusite.
16 Then David lifted his eyes and saw the angel of the Lord standing between earth and heaven, having in his hand a drawn sword stretched out over Jerusalem. So David and the elders, clothed in sackcloth, fell on their faces.
17 And David said to God, "Was it not I who commanded the people to be numbered? I am the one who has sinned and done evil indeed; but these sheep, what have they done? Let Your hand, I pray, O Lord my God, be against me and my father's house, but not against Your people that they should be plagued."
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.
19 So David went up at the word of Gad, which he had spoken in the name of the Lord.
20 Now Ornan turned and saw the angel; and his four sons who were with him hid themselves, but Ornan continued threshing wheat.
21 Then David came to Ornan, and Ornan looked and saw David. And he went out from the threshing floor, and bowed before David with his face to the ground.
22 Then David said to Ornan, "Grant me the place of this threshing floor, that I may build an altar on it to the Lord. You shall grant it to me at the full price, that the plague may be withdrawn from the people."
23 And Ornan said to David, "Take it to yourself, and let my lord the king do what is good in his eyes. Look, I also give you the oxen for burnt offerings, the threshing implements for wood, and the wheat for the grain offering; I give it all."
24 Then King David said to Ornan, "No, but I will surely buy it for the full price, for I will not take what is yours for the Lord, nor offer burnt offerings with that which costs me nothing."
25 So David gave Ornan six hundred shekels of gold by weight for the place.

Footnotes 3

Scripture taken from the New King James Version. Copyright © 1982 by Thomas Nelson, Inc. Used by permission. All rights reserved.