The thief is sorry that he is to be hanged but not that he is a thief meaning Idiom

The thief is sorry that he is to be hanged but not that he is a thief meaning in Urdu means;

It looks like we do not have any idiom "the thief is sorry that he is to be hanged but not that he is a thief meaning" in Urdu.

We will however try to add it as soon as possible.