Isn't psychology basically the study of human nature? You can come to understand a lot about that simply by observing.
I don't think Solomon studied psychology but he seemed to know an awful lot about what made people tick and why they ticked like they did, and his wisdom came from _______ (fill in the blank).