Jer 2:16-18

16Moreover, the people of Memphis and Tahpanhes have broken the crown of your head.17Have you not brought this upon yourself by forsaking the Lord your God, while he led you in the way?18What then do you gain by going to Egypt, to drink the waters of the Nile? Or what do you gain by going to Assyria, to drink the waters of the Euphrates?