Not "exactly" how we learn. Humans learn through a combination of reinforcement learning (which is costly/risky/painful) and through observation of existing patterns and norms.
Better observation-based learning is a less expensive way of improving existing corpus-based approaches than trial-and-error and participating in an environment.