Where the Lord appeared unto David - The marginal rendering, or “which was shown to David,” is preferred by some; and the expression is understood to point out to David the proper site for the temple by the appearance of the Angels and the command to build an altar 2Sa 24:17-25; 1Ch 21:16-26.
In the place that David had prepared - This seems to be the true meaning of the passage, though the order of the words in the original has been accidentally deranged.