“I am but a little child” he was around 20, some say 12 or 15 seems unlikely, probably around 20.
Solomon was not a little child in the sense that we think about “Little child”. Do you ever feel like that. “Lord I don’t know where to go, I don’t know what to do”
At this point in solomon’s life he has a choice, he can light the path of the Lord’s word, or he cannot,
Psalm 119:105 ESV
Your word is a lamp to my feet and a light to my path.