“... it depends if you deserve to be saved ...”
NO one “deserves to be saved”.
It is only by God’s grace; and on the part of an individual to repent and believe on Jesus Christ that insures salvation.
You make God sound more than an little irrational. Kinda like Zeus and his capricious fellow gods on Mount Olympus.