David said: The LORD our God has helped me defeat all the people who lived here before us, and he has given you peace from all your enemies. Now this land belongs to the LORD and his people.
Jehoiada assigned the priests and Levites their duties at the temple, just as David had done. They were in charge of offering sacrifices to the LORD according to the Law of Moses, and they were responsible for leading the celebrations with singing.
When you climbed the high mountain, you took prisoners with you and were given gifts. Your enemies didn't want you to live there, but they gave you gifts.
Do idols belong in the temple of God? We are the temple of the living God, as God himself says, "I will live with these people and walk among them. I will be their God, and they will be my people."