Jeremiah 31:19

Surely, after my turning, I repented; And after I was instructed, I struck myself on the thigh; I was ashamed, yes, even humiliated, Because I bore the reproach of my youth.'

Surrounding context

31:18 "I have surely heard Ephraim bemoaning himself: "You have chastised me, and I was chastised, Like an untrained bull; Restore me, and I will return, For You are the LORD my God.

31:19 Surely, after my turning, I repented; And after I was instructed, I struck myself on the thigh; I was ashamed, yes, even humiliated, Because I bore the reproach of my youth.'

31:20 Is Ephraim My dear son? Is he a pleasant child? For though I spoke against him, I earnestly remember him still; Therefore My heart yearns for him; I will surely have mercy on him, says the LORD.

Translation and sources