מַה־תֵּזְלִ֥י מְאֹ֖ד לְשַׁנּ֣וֹת אֶת־דַּרְכֵּ֑ךְ גַּ֤ם מִמִּצְרַ֙יִם֙ תֵּב֔וֹשִׁי כַּאֲשֶׁר־בֹּ֖שְׁתְּ מֵאַשּֽׁוּר׃
How greatly dost thou cheapen thyself to change thy way? Thou shalt be ashamed of Egypt also, As thou wast ashamed of Asshur.
Read Jewish philosophy on Jeremiah 2:36: Rambam's Guide for the Perplexed, Saadia Gaon, and classical Jewish philosophical sources, free online.