Why did God kill King Ahab?
For not killing a captured king
Thus saith the LORD, Because thou [Ahab] hast let go out of thy hand a man whom I appointed to utter destruction
[King Benhadad], therefore thy life shall go for his life, and thy people for his people.
1 Kings 20:42