The great king had built altars to pagan gods worshipped by his non-Jewish wives on this slope, an offense against the God of Israel.
The God of Israel was offended by the king.
No one cares about outcomes and looks at raw data.