St Ignatius called movements toward God "consolation" and away from God "desolation" — both are valid and worth naming.
Before you go further
Is what you're feeling about something you did — or something you believe you are?
Something I did
A specific action or word I regret. I can name it, and I can repair it.
Something I believe I am
A feeling that I am fundamentally wrong, not enough, or beyond repair.
This is healthy guilt — your conscience working as it should. It is specific and it points toward repair, not punishment. Name what happened honestly, make what amends you can, and receive the grace that is already waiting for you.
"If we confess our sins, he is faithful and just and will forgive us our sins and purify us from all unrighteousness." — 1 John 1:9
What you are feeling right now is shame — and shame is a lie about your identity, not a report on your worth. It speaks in absolutes: always, never, fundamentally wrong. That voice is not the voice of God. God speaks in specifics and in love. You are not the sum of your worst moments. You are named, known, and beloved — before and after this.
"There is now no condemnation for those who are in Christ Jesus." — Romans 8:1