I'd agree with this, but I'll also mention that my undergrad degree was actually phenomenally helpful. One or two classes were legitimately beneficial for what they said on the tin (i.e., taught me useful concepts more quickly than I could have learned them on my own, or taught me concepts I never knew I needed, such as agile methodologies), and the rest presented problems in a space I could comparatively safely 'fail' in, that I had to figure out how to solve on my own, both technical and people based ones.
But that said, I also recognize that that may be the exception, and that on the job I might have learned the same things in less time.
But that said, I also recognize that that may be the exception, and that on the job I might have learned the same things in less time.