Also my wisdom remained with me— The meaning is, that Solomon's greatness had no way impaired his wisdom, as is too frequently the case.
Related Commentaries of Ecclesiastes 2:9
Ecclesiastes 2:9
9 So I was great, and increased more than all that were before me in Jerusalem: also my wisdom remained with me.