How did you arrive at this conclusion? According to Scripture it is exactly what God wanted.
1 Chronicles 22:7 David said, "I had it in my heart to build a temple for God". \
It wasn't God's idea. It was David's. Just because God went along with it doesn't mean it was God's will, as illustrated in the example of the people wanting a King from
1 Samuel 8:7-20 .
The evidence shows that, like with the issue of having a king vs the tribal judge system God had set up, the people only became confused with the great and magnificent temple. They invariably started worshiping the gold and their own sacrifices. Matthew 23: 16-19.
Even Stephen, during his swan song, recognized that it was David's desire to build the temple. He started by contrasting the tabernacle which God himself gave meticulous instructions for building verses the temple which David wanted to build. It seems a pretty clear criticism of the temple, especially since he then says, "God does not live in a temple made from hands". Acts 7:46-51. He even finishes this part off by calling them stiff-necked people.
The reason people still think the temple was God's will today is because of their own fascination with buildings. Yes, he went along with it, but almost certainly only to demonstrate that no matter how well intentioned people may be in their desire to build buildings to God, it will always become twisted. It was there in the gospels as well. At his trial, the most damning crime he was accused of committing was that he had threatened their temple and Jesus himself suggested that the temple was a distraction in that it did not matter where people worshiped God, so long as they worship him in spirit and in truth. John 4:23
David's charge to Solomon:
Take heed now; for the LORD hath chosen thee to build an house for the sanctuary: be strong, and do it. (
1 Chron 28:10)
The Lord only "chose" Solomon because he was the lesser of two evils. God rejected David because of all the blood he had shed. This still falls under the same principle of God going along with the temple idea as a concession to David's strong desire. The way God explains it when David originally raises the idea is that of God doing a favor for David. God created all the universe, and yet here is David saying, "I want to build a house for you". You can almost hear God kinda snorting with mirth at the idea of it.
It becomes even more clear in 2 Samuel 7:4-5 when God basically says, "I was happy with my roving tent and never asked anyone to build a house for me".
The Holy Spirit gave the design/pattern to David: And the pattern of all that he had by the Spirit, of the courts of the house of the LORD... All this, said David, the LORD made me understand in writing by his hand upon me, even all the works of this pattern. (vv 12,19)
Sure, Just like God chose who would be the King of Israel even after he said the people only wanted a king because they had already rejected him.
God would oversee the work of building the temple: And David said to Solomon his son, Be strong and of good courage, and do it: fear not, nor be dismayed: for the LORD God, even my God, will be with thee; he will not fail thee, nor forsake thee, until thou hast finished all the work for the service of the house of the LORD. (v 20)
Some would argue that it's a little unfair for David to dump
his desire for the temple onto Solomon.
Anyway, the point behind all of this is to illustrate that just because there are examples of slavery/bondservants in the old testament, even if it's regulated by a list of rules and even if God comments on how it should be done does not mean it is what God himself wanted. These examples show that God is willing to allow us to pursue paths which are not exactly what he'd want, just as parents today may allow their children to make mistakes just because sometimes there's no amount of lecturing which can show us the folly of our various plans.