"And God split open the hollow place that is in Lehi, and water came out of it, and he drank" (Judges 15:19). Rabbi Yitzchak of the school of Rabbi Ami said: Because he craved a thing of impurity, therefore his life was made to depend on an impure thing.
Water From the Jawbone and a Craving for Impure Things
Yalkut Shimoni on Nach 70:5
ויבקע אלהים את המכתש אשר בלחי ויצאו ממנו מים וישת. א"ר יצחק דבי רבי אמי הוא אוה לדבר טומאה לכך נתלו חייו בדבר טמא: