Since Ahaziah was related to Ahab's family, he acted just like them and disobeyed the Lord by doing wrong.