"And now beware, and drink no wine or strong drink, and eat nothing unclean" (Judges 13:4). What is "anything unclean"? Rabbi Yitzchak of the school of Rabbi said: They say it means things forbidden to a nazirite. "And he shall begin to save Israel from the hand of the Philistines" (Judges 13:5). Rav Acha bar Chanina said: The oath of Abimelech was made profane [began to be undone], as it is written, "that you will not deal falsely with me, nor with my son, nor with my grandson" (Genesis 21:23).
The Nazirite Warning to Samsons Mother and the Broken Oath
Yalkut Shimoni on Nach 68:6
ועתה השמרי נא ואל תשתי יין ושכר ואל תאכלי כל טמא, מאי כל טמא, א"ר יצחק דבי רבי אמרי דברים האסורים לנזיר. והוא יחל להושיע את ישראל מיד פלשתים אמר רב אחא בר חנינא הוחלה שבועתו של אבימלך דכתיב אם תשקור לי ולניני ולנכדי: