17 At the king’s command they removed from the quarry large blocks of high-grade stone to provide a foundation of dressed stone for the temple.

Read 1 Kings 5:17 Using Other Translations

And the king commanded, and they brought great stones, costly stones, and hewed stones, to lay the foundation of the house.
At the king's command they quarried out great, costly stones in order to lay the foundation of the house with dressed stones.
At the king’s command, they quarried large blocks of high-quality stone and shaped them to make the foundation of the Temple.