The school environment plays a vital role. Supportive teachers, a positive peer environment, and opportunities for children to excel in various areas can significantly boost self-confidence. Conversely, a stressful or negative school environment can hinder it.