After David became the big boss, God kept his enemies away from Israel. So he sat down happily in his big house in Jerusalem.
God was good to David. And David wanted to build a ceremony house, instead of that tent, for the God of us Israel people. So David asked God to let him build that house.