David is enjoying a time of great victory over his enemies, and in 2 Samuel 6, is seeking to make Jerusalem the Spiritual capitol of Israel, just as He has already declared it the political capital of Israel.