The American public school system is a veritable penal colony proxy. My experience with math was much the same.
As someone on the tail end of the Bell curve and for whom such a monolithic system was a poor fit, I wasted over a dozen years of my life there, in unfortunately what were my most formative years.
Luckily my siblings are correcting that with their children.