This is a great question without a great answer.

Some authorities hold that repent derives from the Latin paene or the Greek poenere and has something therefor to do with pain and suffering.

Some hold that it derives from the ME repenten, from the OF repentir, from the Latin pentire, and means to be sorry.

Whatever its etymology, we got a big dose of it in the liturgy for Ash Wednesday tonight!