"'From the day I brought my people Israel out of Egypt, I have never chosen a city among any of the tribes of Israel as the place where a Temple should be built to honor my name. But I have chosen David to be king over my people Israel.'"
This is God's grace: Though he never wanted his people to have any king, he was willing to work through their king anyway. His original goal—that God would be the God of Israel and that they would be his people—did not change. He still wanted them to acknowledge his rule, but he worked with what the people wanted and made it glorious. Having kings over Israel may have been "second best," but look what God did with it! If you feel you've disobeyed and chosen "second best," know that God's grace and power can still make something great of it!