How does controlling help in decision-making?

How does controlling help in decision-making? Illustrate your answer with a suitable example.

Controlling involves taking corrective actions whenever required. In an organisation, first, the manager plans in advance, what is to be done, then through controlling, he measures the progress and keeps checking that everything is in accordance with plan or not and if there is any deviation, he takes preventive measures to correct that deviation.In this way, it facilitates decision-making, e.g. suppose in XYZ Ltd; production is delayed due to lade of resources, then through the controlling function, manager takes decision to provide resources on time.