I know that watching movies about biblical events does not always portray the reality of the event narrated in the Bible.
There are several films about King Solomon and one of them implies that the cause of his decline was not foreign women, it was the excess of wisdom and the lack of goals, later triggering him to become attached to women as compensation, he built the temple but then I no longer knew how to have a purpose. And indeed it is quite strange how an individual with such intellectual capacity got to that state. Can too much wisdom get in the way of intuiting the human goal as something fleeting and without intrinsic value? Doing everything too fast can create idleness and prostration? Ecclesiastes would have been written in that state.
That was basically the idea of the movie I watched, it seems to me that someone naive and uneducated can handle life better than someone with high knowledge and a lot of knowledge.
In short, in Judaism is there this idea that an excess of wisdom or something that is good in principle even though it is good can be harmful to some extent? Would all the same good stuff have side effects? Or is this idea of the movies completely unrealistic?