Adam Clarke Bible Commentary
1 Kings 3:5
Verse 1 Kings 3:5. The Lord appeared to Solomon in a dream] This was the night after he had offered the sacrifices, (see 2 Chronicles 1:7), and probably after he had earnestly prayed for wisdom; see Wisdom 7:7: Wherefore I prayed, and understanding was given me: I called upon God, and the spirit of wisdom came to me. If this were the case, the dream might have been the consequence of his earnest prayer for wisdom: the images of those things which occupy the mind during the day are most likely to recur during the night; and this, indeed, is the origin of the greater part of our dreams. But this appears to have been supernatural.
Gregory Nyssen, speaking of different kinds of dreams, observes that our organs and brain are not unlike a musical instrument; while the strings of such instruments have their proper degree of tension, they give, when touched, a harmonious sound, but as soon as they are relaxed or screwed down, they give no sound at all. During our waking hours, our senses, touched by our reason, produce the most harmonious concert; but as soon as we are asleep, the instrument is no longer capable of emitting any sound, unless it happen that the remembrance of what passed during the day returns and presents itself to the mind while we are asleep, and so forms a dream; just as the strings of an instrument continue to emit feeble sounds for some time after the musician has ceased to strike them. - See GREG. NYSS. De opificio hominis, cap. xii., p. 77. Oper. vol. i., edit. Morell., Par. 1638.
This may account, in some measure, for common dreams: but even suppose we should not allow that Solomon had been the day before earnestly requesting the gift of wisdom from God, yet we might grant that such a dream as this might be produced by the immediate influence of God upon the soul. And if Solomon received his wisdom by immediate inspiration from heaven, this was the kind of dream that he had; a dream by which that wisdom was actually communicated. But probably we need not carry this matter so much into miracle: God might be the author of his extraordinary wisdom, as he was the author of his extraordinary riches. Some say, "He lay down as ignorant as other men, and yet arose in the morning wiser than all the children of men." I think this is as credible as that he lay down with a scanty revenue, and in the morning, when he arose, found his treasury full. In short, God's especial blessing brought him riches through the medium of his own care and industry; as the inspiration of the Almighty gave him understanding, while he gave his heart to seek and search out by his wisdom, concerning all things under the sun, Ecclesiastes 1:13. God gave him the seeds of an extraordinary understanding, and, by much study and research, they grew up under the Divine blessing, and produced a plentiful harvest; but, alas! they did not continue to grow.