At that time, when David saw that Yahweh had answered him on the threshing floor of Ornan the Jebusite, he offered sacrifices there.
In context
26David built an altar to Yahweh there, and offered burnt offerings and peace offerings, and called on Yahweh, and he answered him with fire from heaven on the altar of burnt offering. 27Then Yahweh spoke to the angel, and he returned his sword to its sheath. 28At that time, when David saw that Yahweh had answered him on the threshing floor of Ornan the Jebusite, he offered sacrifices there. 29For the tabernacle of Yahweh, which Moses had made in the wilderness, and the altar of burnt offering, were at that time at the high place in Gibeon. 30But David could not go before it to seek God, because he was terrified by the sword of the angel of Yahweh.