"foundation" in this sense was more than just the stone blocks to support the temple walls. It included the entire temple floor set in stone. This enabled all the temple worshipers to wear their special garments and keep them clean.
The hand of a king is a metonym for the power to give commands. AT: "as David ... had commanded" (See: [[rc://en/ta/man/translate/figs-metonymy]])
# thankfulness
A feeling and expression of appreciation and gratitude for the kindness of another.
# His covenant faithfulness to Israel endures forever
The abstract noun "faithfulness" can be stated as "faithfully" or "faithful." AT: "He faithfully loves Israel forever" or "He is always faithful to his covenant with Israel" (See: [[rc://en/ta/man/translate/figs-abstractnouns]])