His mother and father did not realize that Yahweh was arranging this. He was preparing a way for Samson to defeat the Philistines, who were ruling over Israel at that time.