4 (His parents did not know that this was from the LORD, who was seeking an occasion to confront the Philistines; for at that time they were ruling over Israel.)

Read Judges 14:4 Using Other Translations

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.
His father and mother did not know that it was from the LORD, for he was seeking an opportunity against the Philistines. At that time the Philistines ruled over Israel.
His father and mother didn’t realize the LORD was at work in this, creating an opportunity to work against the Philistines, who ruled over Israel at that time.