Agree with you on this. If you take Differential Equations, Modern Algebra, Category Theory, Nonparametric Statistics, Real Analysis, ... in college. Any particular class will be hardly to make you a "mathematician", but a combination of your 160 hours (120 hours undergraduate + 40 hours graduate school) total class credit plus your graduate school research will.