Moses acknowledges his wrong and asks Allah for forgiveness, and Allah forgives him.