David then bought the property from Araunah, for fifty pieces of silver, and erected the altar. YHWH instructed David to build a sanctuary on the site, outside the city walls on the northern edge of the hill. The building was to replace the Tabernacle, and serve as the Temple of the Israelites in Jerusalem. The Temple Mount is an important part of Biblical archaeology.