Stable homes boost student performance and mental health, outperforming race and poverty as key factors in academic success.