Giving up is not a permanent decision, it is ongoing, it needs constant renewing. Every moment in a state of defeat is it’s own choice. You maintain that the situation does not warrant confronting adversity. You choose continued inaction, submission or flight over persistence. Every moment is a new opportunity to strive. Should you choose to strive again after being defeated, then you have experienced a setback, not defeat.
Now you are more conscious of that process. Face every new moment with this added mindfulness. Do as you will. Pick your bias, or hopefully, clarity inducing lack thereof. Being a proponent of strength through diversity, though, I do hope we take numerously nuancing and contrasting paths, such that the final balance is conducive to a favourable existence for all.