A "good boy" is generally understood to be someone, often a child or someone acting in a childlike way, who exhibits positive and desirable behaviors. This can include being respectful, obedient, helpful, honest, polite, and considerate. It's often used as a positive affirmation to encourage good behavior.