By a prophet the LORD brought Israel up from Egypt, and by a prophet he was guarded.
And God, he says, brought you up by a Prophet from Egypt, and by a Prophet you have been preserved This was, as it were, their second nativity. Some think that the comparison is between their first origin and their deliverance; as though Hosea had said, “Though you were born of a very poor and ignoble man, yet God has favoured you with singular privilege...
Here are intermixed, in these verses, I. Reproofs for sin. When God is coming forth to contend with a people, that he may demonstrate his own righteousness, he will demonstrate their unrighteousness. Ephraim was called to turn to his God and keep judgment (Hos 12:6); now, to show that he had need of that call, he is charged with turning from his God by idolatry...
Commenting on Hosea 12:7-14
And by a prophet the Lord brought Israel out of Egypt,.... Or, "by the prophet"; the famous and most excellent prophet Moses, who, by way of eminency, is so called; him the Lord sent, and employed, and made use of him as an instrument to bring his people out of their bondage in Egypt; in which he was a type of Christ the great Prophet...