Nothing “outside” of you has the authority to tell you who you are. You have given your life to God, he “owns” you, and he alone has the authority to define what and who you are.
So what does he say?
God says you are at peace with him by faith in Christ, and he says you’re in right-standing with him the same way. He defines the terms, and he enforces the rules. Righteousness is by faith, not works.
Also remember that God has placed his spirit in you, and his kingdom is in you, so essentially God is in you. If God determines your identity, he does it from the inside, not through external circumstances in your life.
Righteousness is not by works, holiness is not by works, and identity is not by works, it’s all given to you in Christ. Your actions do not define you. Nothing anyone does to you, defines you. Not even your DNA defines you.
Unfortunately, we can go through things in this life that are so traumatic we allow them to define us because they’re so overwhelming. What do we do in traumatic situations?