A father can deem his children worthy of gifts either because of works they do or simply because he loves them. Does an infant "deserve" his or her parents' love? The parents think so!
Likewise everyone deserves to be saved because God loves the whole world & is not judging the world by sin or works or law. Jesus took away the sins of the world. The reason people cannot earn salvation is not because they fall short of keeping commands. The reason salvation cannot be earned is because God will not accept payment for it. It is a gift!
You can reject His gift but the gift has already been bought for you, waiting to be unwrapped. WE DO DESERVE GOD'S LOVE but we can never earn God's love because love doesn't demand payment. God doesn't need to be bribed to love, His love is already there.
"For GOD SO LOVED THE WORLD..."