1 Chronicles 21: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.

Cross-reference

1 Chronicles 21:11 Historical context

In 1 Chronicles 21:11, Gad had offered David three punishment options; this earlier command sets the context for the angel's instruction to build an altar.

1 Chronicles 21:15 Historical context

In 1 Chronicles 21:15, the angel stands at the threshing floor as God relents from destroying Jerusalem; this location becomes the site for the altar.

1 Chronicles 22:1 Historical context

In 1 Chronicles 22:1, David declares this very threshing floor will be the temple site, directly following the altar construction.

2 Samuel 24:18 gives the parallel account of Gad telling David to build an altar on Araunah's threshing floor with identical wording.

2 Chronicles 3:1 Historical context

2 Chronicles 3:1 reveals that Solomon built the temple on this same threshing floor, showing the altar site became the temple location.