The most accurate response to how the economies of Saudi Arabia and Iraq would be affected if people in other countries stopped using as much oil as they do today is:
Their economies would suffer as other countries bought less of the oil that Saudi Arabia and Iraq produce.
Both countries are heavily reliant on oil exports as a primary source of revenue, and a decrease in global demand would likely lead to a decline in oil prices and reduced economic growth.