Deuteronomy 29:19

And if he were to hear the words of this oath, he would bless himself in his own heart saying: ‘There will be peace for me, and I will walk in the depravity of my heart.’ And so, the one who is inebriated would consume the one who is thirsty

Other versions

King James Version

And it come to pass, when he heareth the words of this curse, that he bless himself in his heart, saying, I shall have peace, though I walk in the imagination of mine heart, to add drunkenness to thirst:

English Standard Version

one who, when he hears the words of this sworn covenant, blesses himself in his heart, saying, 'I shall be safe, though I walk in the stubbornness of my heart.' This will lead to the sweeping away of moist and dry alike.

New International Version

When such a person hears the words of this oath, he invokes a blessing on himself and therefore thinks, "I will be safe, even though I persist in going my own way." This will bring disaster on the watered land as well as the dry.