# than all who were before me in Jerusalem
This refers to all the previous rulers of Jerusalem. Alternate translation: "than all the kings who had ruled before me in Jerusalem" (See: [[rc://en/ta/man/translate/figs-explicit]])
# my wisdom remained with me
This is an idiom. "I continued to act wisely" or "I continued to be wise" (See: [[rc://en/ta/man/translate/figs-idiom]])