Jeremiah 2:36 in the King James Version
Why gaddest thou about so much to change thy way? thou also shalt be ashamed of Egypt, as thou wast ashamed of Assyria.
Context
35 “Yet you said, ‘I am innocent. Surely his anger has turned away from me.’ “Behold, I will judge you, because you say, ‘I have not sinned.’
36 Why do you go about so much to change your ways? You will be ashamed of Egypt also, as you were ashamed of Assyria.
37 You will also leave that place with your hands on your head; for the LORD has rejected those in whom you trust, and you won’t prosper with them.