מַה־תֵּזְלִ֥י מְאֹ֖ד לְשַׁנּ֣וֹת אֶת־דַּרְכֵּ֑ךְ גַּ֤ם מִמִּצְרַ֙יִם֙ תֵּב֔וֹשִׁי כַּאֲשֶׁר־בֹּ֖שְׁתְּ מֵאַשּֽׁוּר׃
How greatly dost thou cheapen thyself to change thy way? Thou shalt be ashamed of Egypt also, As thou wast ashamed of Asshur.
Read halakhic rulings (Jewish law) on Jeremiah 2:36: and classical halakhic sources.