Ecclesiastes 2:9

9 So I grew richer than anyone in Jerusalem before me. Yet, my wisdom remained with me.