He smote all the house of Jeroboam - This was according to Ahijah's prophetic declaration; see Kg1 14:10, Kg1 14:14. Thus God made use of one wicked man to destroy another.