2 Chronicles 22:9

22:9 He looked for Ahaziah, who was captured while hiding in Samaria. They brought him to Jehu and then executed him. They did give him a burial, for they reasoned, “He is the son of Jehoshaphat, who sought the Lord with his whole heart.” There was no one in Ahaziah’s family strong enough to rule in his place.

2 Chronicles 23:14

23:14 Jehoiada the priest sent out the officers of the units of hundreds, who were in charge of the army, and ordered them, “Bring her outside the temple to the guards. Put the sword to anyone who follows her.” The priest gave this order because he had decided she should not be executed in the Lord’s temple.