Jeremiah 31:19

King James Version Bible (KJV)
Surely after that I was turned, I repented; and after that I was instructed, I smote upon my thigh: I was ashamed, yea, even confounded, because I did bear the reproach of my youth.

Read Jeremiah 31:19 in other translations