Someone who is grieved because he has sinned is grieved in a godly way, because he is sorry to have done something that God hates. This godly sorrow is directly related to the enduring quality of his salvation.
I'm angry with myself that I'm unable to rejoice from my heart and be thankful to God... I am joyful in spirit but I am sad according to the flesh.... It's strange to know that she is surely at peace... and yet to grieve so much.