Preserving the Davidic Line
Commentators explain that the 'people of the land' were not staging a coup but were acting to preserve the kingdom's stability. By executing the conspirators and installing Amon's young son, Josiah, they ensured the continuation of the Davidic dynasty, demonstrating a commitment to God's chosen royal line even after the reign of a wicked king.