LUKE 2:46
This is the only record in the bible of Jesus' childhood. At the age of twelve, His wisdom amazed the men who had spent much of their lives studying. Jesus didn't have the ability to physically get a copy of the scriptures like they did. He got His knowledge from His heavenly Father and from the ready of the scrolls in the synagogue.
At that age, He had an understanding of who His real Father was and why He was in the world. He had all the treasures of wisdom and knowledge in Him, Colossians 2:3, In whom are hid all the treasures of wisdom and knowledge. He lived in a human body with a natural mind so He needed to be educated even though He was God. He knew His purpose even in early childhood, but had to study to prepare Himself for what God wanted Him to accomplish on earth.
God wants us to study and prepare ourselves also, so we too can know what He wants us to do and when to do it. We are to study to show ourselves approved unto Him, 2 Timothy 2:15, Study to shew thyself approved unto God, a workman that needeth not to be ashamed, rightly dividing the word of truth.