Slight correction though if I may. The quoted sentence ought to read as follows:
So it's never going to happen unless Iran changes its entire foreign policy, which isn't going to happen because the Islamic Republic cares more about Iran's existence than the economy.
Indeed, the zionist entity's hostility towards Iran is of an existential nature. That's why they do not simply aim for so-called "regime" change, but for "regime" change cum disintegration and balkanization of the Iranian nation-state.
See:
https://besacenter.org/dismantle-iran-now/
It wouldn't make a difference if Iran stopped supporting the Palestinian cause. Hence, this very support is decisive since it's one of the main ways through which Iran can counter zionist pressures and exert deterrence against escalation.
If such massive investments were made only to extraction of raw materials and sell more crude oil, it'd have a negative adverse effect on non-oil industries via currency overevaluation and the dilemma of the Dutch Disease. Forty three years of colossal and highly successful efforts to do away with the dependence on oil exports would go down the drain and economic development would take a serious hit.
Uprooting age-old fundamental values of society to open thousands of brothels for foreign tourists is also a theoretical means of earning money. So is investing in the blood diamonds business in Africa along with militias exterminating the populations of entire villages around mining areas. Simply put, not every source of income is admissible. Ethics, religion, decency come first, economy and money second.