David could gather by what he met with upon Mount Moriah, that that was the place where God would have the temple builded, therefore he sacrificed there (1 Chron 21:26-28, 22:1,2; 2 Chron 3:1).