Дварим 13:4 Мидраш: Sifrei Devarim

לֹ֣א תִשְׁמַ֗ע אֶל־דִּבְרֵי֙ הַנָּבִ֣יא הַה֔וּא א֛וֹ אֶל־חוֹלֵ֥ם הַחֲל֖וֹם הַה֑וּא כִּ֣י מְנַסֶּ֞ה יְהוָ֤ה אֱלֹֽהֵיכֶם֙ אֶתְכֶ֔ם לָדַ֗עַת הֲיִשְׁכֶ֤ם אֹֽהֲבִים֙ אֶת־יְהוָ֣ה אֱלֹהֵיכֶ֔ם בְּכָל־לְבַבְכֶ֖ם וּבְכָל־נַפְשְׁכֶֽם׃

ты не будешь внимать словам этого пророка или мечтателю сновидений; ибо Господь, Бог твой, дает тебе доказательство, чтобы узнать, любишь ли ты Господа, Бога твоего, всем сердцем твоим и всей душе твоей.

Sifrei Devarim

"lest there be in your heart a thing belial": From here R. Yehoshua b. Karchah was wont to say: Averting one's eyes from charity is tantamount to serving idols, it being written here "belial," and elsewhere (re idolatry) "belial." Just as there, idolatry is meant, here, too, idolatry.