ספר המדות, Repentance / Part I Repentance / Part I · יא
Sefer HaMiddot 2468
יא. יִשְׁמר אָדָם אֶת פִּיו מִלּוֹמַר: אֶעֱשֶׂה הָעֲבֵרָה הַזּאת אֲפִילּוּ בְּדֶרֶךְ לֵיצָנוּת, כִּי דִּבּוּרוֹ מַכְרִיחַ אוֹתוֹ לְמַעֲשֶׂה.
11. A person should guard his mouth from saying, "I will do such and such a sin", even mockingly, for his words force him to do the action.