As someone who didn't understand math until I messed with programming, I absolutely agree academia goes about teaching math completely wrong.
The absolute lack of context and meaning to anything that was done in math education meant I never appreciated them, they were literally just wastes of time to me. Anything beyond simple arithmetic made no sense to me, because I was never taught how they made sense.
It was only once I started playing around with programming when everything suddenly clicked. All at once, concepts like variables and equations had meaning, I could sincerely understand what the numbers and letters stood for.
Math education in general really would benefit students of all ages more if they had more of the Hows and Whys before engaging in all the Whats.