You don't have a "math problem", you have a "data/science problem". And saly, at least at the micro-level, economists could have disabused themselves of the accuracy of rationality decades ago (e.g., Kahneman and Tversky's work in the 70's).
Much modern economics is like the elaborate math of epicycles, close enough, but still missing key insights. And this won't change until data is valued more.
What theoretical economists do is not 'nonsense' but can become nonsense when it naively forms the rationale for real-world policy.
If there is a convincing empirical economic study that widely contradicts a theoretical consensus---yes, that evidence should be preferred. But that is not often the case, and otherwise the theoretical argument is simply the best argument there is.
What drives me bonkers, though, is the people who dismiss the math and its conclusions as being 'meaningless', but then what they substitute is not superior empirical arguments of their own, but their own emotional sentiments and undisciplined intuitions (typically decorated by cherry-picked historical observations).
In that case, the "theoretical argument is simply the best argument" is wrong; we should study economic history and human behavior rigorously and let that inform our policy. Theory can serve as a useful model when it is validated by some sort of observation and data -- but even when we cannot perform controlled studies there is not a knock-down argument that "theory" must be our best guess.
I agree that a person's interpretation of economics is very likely to be influenced by their idea of how the world should work; but this is more a problem of our characteristic lack of critical self-reflection. And of course, we should have cogent arguments for our interpretation of economics, ideally rooted in objective evidence.
A medical scientist runs experiments on rats, to gain insight into what the effects of a certain phenomenon might be on humans. Rats aren't humans, of course, but we think they share important characteristics with humans. Of course, human trials would be better---butbecause there are ethical and practical difficulties in performing human experiments in controlled environments, we are happy to accept the insights that come from studying rats.
Theoretical economics studies the interactions of idealized 'rational' actors. These aren't humans, of course, but like rats, we think they might share important characteristics with humans. Like rational actors, humans have things they want, and do respond to incentives. Economics is largely the study of systems of incentives.
You can gain insight into the systems of rational actors---and insofar as you believe the analogy between rational actors and humans, into human economic systems---by writing equations and proving theorems.
I'm sick of this theme that theoretical economists are these dogmatic lunatics who write equations on the board that have nothing to do with reality. They are in the business of crafting powerful arguments about human nature by analogy, which yes, aren't always accessible to those of us who haven't steeped ourselves in the math, but I think that is no reason to dismiss their insights as nonsense and saying they have a 'math problem'.