Dr. Mustafa Khattab, the Clear Quran - 5:31

Translation for 5:31

Then Allah sent a crow digging ˹a grave˺ in the ground ˹for a dead crow˺, in order to show him how to bury the corpse of his brother. He cried, “Alas! Have I ˹even˺ failed to be like this crow and bury the corpse of my brother?” So he became regretful.1 

Foot notes

76606

 In Islam, regret for doing something wrong is essential for repentance. But in the case of Cain, his regret was not for killing his brother, but for failing to bury his corpse to hide the evidence of his crime. Therefore, his regret was not intended as a step towards repentance.