Ézéchiel 33:2 Midrash : Sifrei Devarim

בֶּן־אָדָ֗ם דַּבֵּ֤ר אֶל־בְּנֵֽי־עַמְּךָ֙ וְאָמַרְתָּ֣ אֲלֵיהֶ֔ם אֶ֕רֶץ כִּֽי־אָבִ֥יא עָלֶ֖יהָ חָ֑רֶב וְלָקְח֨וּ עַם־הָאָ֜רֶץ אִ֤ישׁ אֶחָד֙ מִקְצֵיהֶ֔ם וְנָתְנ֥וּ אֹת֛וֹ לָהֶ֖ם לְצֹפֶֽה׃

"Fils de l’homme, parle aux enfants de ton peuple et dis-leur: S’il est un pays contre lequel j’amène le glaive, les gens de ce pays prendront un homme dans leurs rangs pour l’établir comme guetteur.

Sifrei Devarim

Variantly: "and I shall set them at your heads": If you guard your ways, your heads (i.e., your judges) will be guarded, and if not, your heads will not be guarded — whence we are taught that the guilt of Israel is on the heads of their judges. And thus is it written (Ezekiel 33:7-9) "A sentinel have I made you for the house of Israel. When you hear a word from My mouth, you must warn them for Me." (If you do not warn the wicked one and he dies, his blood will be on your head.)