If you know me, I'm sure it crossed your mind that I don't deserve this, and you are right.
If you are up on the concept of original sin, our native inclination to put ourselves before God, then you realize "undeserving" is a category to which we all belong to one degree or another.
I've come to realize that God is not a vending machine. I can't put in a deed or prayer and get back a favor. God dispenses grace (which means "spiritual freebies") where He will, and at his whim He gives to the undeserving.