You are only partially correct.
Assuming athletes all go to public schools, a school basketball season is two and a half month long out of a year. The rest of the year, athletes are trained at their clubs with private funding. For example, AAU teams receive zero funding from any government (federal, state or local).