But his father and his mother didn't know that it was of Yahweh; for he sought an occasion against the Philistines. Now at that time the Philistines had rule over Israel.
Samson’s parents viewed his plan to marry the woman as unwise, but it was "of the Lord." This means that God permitted it, though it was not a marriage that He preferred. It did not violate the Mosaic Law, and it was a situation God would use to punish the Philistines (Judges 14:4; cf. Judges 14:19). This fact did not mitigate Samson’s guilt, but it shows how God providentially overrules human folly and brings His will to pass in spite of it (cf. Psalms 76:10; Romans 8:28).