Since Ahaziah was related to King Ahab by marriage, he sinned against the Lord, just as Ahab's family did.