Luke 2:46 NKJV
[46] Now so it was that after three days they found Him in the temple, sitting in the midst of the teachers, both listening to them and asking them questions. 

Jesus sinless nature in that whilst He was only 12, He went to the House of God to grow. He actually