אָכֵ֛ן בָּגְדָ֥ה אִשָּׁ֖ה מֵרֵעָ֑הּ כֵּ֣ן בְּגַדְתֶּ֥ם בִּ֛י בֵּ֥ית יִשְׂרָאֵ֖ל נְאֻם־יְהוָֽה׃
Surely as a wife treacherously departeth from her husband, So have ye dealt treacherously with Me, O house of Israel, Saith the LORD.
Rashi on Jeremiah
Truly But you did not live up to My expectations [lit., do My thought], but like a woman who betrays her beloved because he cannot provide her sustenance, so did you betray Me, Who provides you with all good. So is the Midrash Aggadah (Tanhuma Mishpatim 17).