I will not take the whole kingdom from his hand. I will allow him to be ruler for the rest of his life for the sake of my chosen servant David who kept my commandments and rules.
Certainly spending just one day in your temple courts is better than spending a thousand elsewhere. I would rather stand at the entrance to the temple of my God than live in the tents of the wicked.
Afterward, the Israelites will turn and seek the Lord their God and their Davidic king. Then they will submit to the Lord in fear and receive his blessings in the future.