Either through unfortunately learning in sunday school or from listening to popular media, there is a myth that while God loves you, he is waiting around with a gavel for you to mess up so He can whack you.
This can’t be further from the truth. He loves you and wants to be with you so much that He did the only thing that could be done to reconcile us to Him. He sent His only son to live among us and to die in your place and my own. He rose again, defeating death. All of this so we can be reconciled to God. He isn’t waiting to hit you with a hammer, he is waiting for you to accept his forgiveness.
Second, you do not have to be “good enough” in order to accept His invitation. He died for us while we were still in our sin. Come as you are is a phrase you may have heard or will. It means exactly what it says. Come as you currently are. The invitation is out there. Acceptance is free.