"Yahweh, you have said that you". Solomon dedicated the temple with a prayer asking God to honor the temple. It was common to dedicate something important to God when it was completed.
"in great darkness"