The point I was making is that psychology is basically the study of human nature and behavior and why people act like they do.
Solomon had lots of understanding and knowledge in regard to this that didn't come from the study of psychology. His wisdom, knowledge and understanding came basically from a knowledge and understanding of God and from God.
The same understanding is available for us from God if we seek Him and ask Him for His counsel and wisdom and knowledge.
It's fairly simple really.