Solomon took seven years to build his extravagant Temple. But towards the end of the project, the Lord pretty well told Solomon that the building wasn’t important. It was obedience to God that mattered the most:
1 Kings 6:12-13 Concerning this Temple you are building, if you keep all my decrees and regulations and obey all my commands, I will fulfill through you the promise I made to your father, David. I will live among the Israelites and will never abandon my people Israel.