ספר המדות, Confession Confession · ד
Sefer HaMiddot 912
ד. מִי שֶׁאֵינוֹ מִתְוַדֶּה עַל עֲוֹנוֹתָיו, מוֹרָא בָּא עָלָיו.
4. One who does not confess his sins, [fallen] fear comes upon him (t.n. There is a famous expression of our Sages: 'he confessed and was not embarrassed' -- embarrassment and fear are interrelated (see e.g. Likutay Moharan 38), thus by not confessing one comes to have fear).