Judges 14:4

But his father and his mother knew not that it was of the LORD, that he sought an occasion against the Philistines: for at that time the Philistines had dominion over Israel.

And his father and mother knew not that it was of the Lord,.... That he should marry this uncircumcised Philistine; Samson knew it was, and that his desire of having her in marriage did not arise from carnal affection to her merely, being captivated with her beauty and external form, for she was not so very fair, her younger sister was fairer than she, Judges 15:2 but he perceived it was the mind and will of God that he should take such a person to wife, by the impulse of the Spirit of God upon him, pointing it, unto him, inclining and urging him to it, suggesting the end and design of it, and the opportunity it would give him of quarrelling with the Philistines, and taking vengeance on them; but this his parents were ignorant of, nor did he let them know that this was of God:

that he sought an occasion against the Philistines; in this way, by this means; they might know he sought to get an opportunity to be avenged on them for their oppression, and to attempt the deliverance of Israel; but they knew not that it was the will of God that a way should be opened for it by this means. Samson might be directed by the Lord to reason thus in his mind, that if he proposed to the Philistines to marry one of their daughters, and they should reject his proposal, this would give him a reason to fall out with them, and fall upon them; and if they should agree to such a match, he might expect they would be kind to him, and to his people for his sake, being in alliance with them, or he should resent it, and take occasion from hence to come to a quarrel with them:

for at that time the Philistines had dominion over Israel; had invaded their country, and dwelt in their cities, and made them tributary to them, and used them ill; which Samson observing, was provoked to seek an opportunity of avenging the injuries done them, and of delivering them, and he was directed to it this way.