The connecting word **But** contrasts Solomon building the Temple, God’s dwelling place, with Solomon loving women from other religions. (See: [[rc://en/ta/man/translate/grammar-connect-logic-contrast]])
The connecting word **When** introduces a background clause that indicates Solomon became old at the beginning of the time when he worshiped foreign gods. (See: [[rc://en/ta/man/translate/grammar-connect-time-background]])