Out of the mouths of babes

Something that a child says shows that he or she understands more about a situation than you thought that they did.

The little boy’s statement was out of the mouths of babes. He knew everything that was happening.