Kings II (2 Samuel) 24
3And Joab said to the king, Now may the Lord add to the people a hundred-fold as many as they are, and may the eyes of my lord the king see it: but why does my lord the king desire this thing?
4Nevertheless the word of the king prevailed against Joab and the captains of the host: And Joab and the captains of the host went out before the king to number the people of Israel.
6And they came to Galaad, and into the land of Thabason, which is Adasai, and they came to Danidan and Udan, and compassed Sidon.
8And they compassed the whole land; and they arrived at Jerusalem at the end of nine months and twenty days.
10And the heart of David smote him after he had numbered the people; and David said to the Lord, I have sinned grievously, O Lord, in what I have now done: remove, I pray thee, the iniquity of thy servant, for I have been exceedingly foolish.
12Thus saith the Lord, I bring one of three things upon thee: now choose thee one of them, and I will do it to thee.
13And Gad went in to David, and told him, and said to him, Choose one of these things to befal thee, whether there shall come upon thee for three years famine in thy land; or that thou shouldest flee three months before thine enemies, and they should pursue thee; or that there should be for three days mortality in thy land. Now then decide, and see what answer I shall return to him that sent me.
14And David said to Gad, On every side I am much straitened: let me fall now into the hands of the Lord, for his compassions are very many; and let me not fall into the hands of man.
18And Gad came to David in that day, and said to him, Go up, and set up to the Lord an altar in the threshing-floor of Orna the Jebusite.
19And David went up according to the word of Gad, as the Lord commanded him.
21And Orna said, Why has my lord the king come to his servant? and David said, To buy of thee the threshing-floor, in order to build an altar to the Lord, that the plague may be restrained from off the people.
23Orna gave all to the king: and Orna said to the king, The Lord thy God bless thee.
24And the king said to Orna, Nay, but I will surely buy it of thee at a fair price, and I will not offer to the Lord my God a whole-burnt-offering for nothing. So David purchased the threshing-floor and the oxen for fifty shekels of silver.
25And David built there an altar to the Lord, and offered up whole-burnt-offerings and peace-offerings: and Solomon made an addition to the altar afterwards, for it was little at first. And the Lord hearkened to the land, and the plague was stayed from Israel.