However, I think it's very likely GP has a much more pernicious problem. That is, he is afraid to make mistakes.
The sentence that highlights this for me is -- "I have realized that I easily give up when I face a hard problem."
If you're afraid of making mistakes, you won't be willing to ask questions (in case it makes you look stupid). And, you won't be willing to try something new (because learning something new leads to mistakes).
This fear of making mistakes is often rooted in an extrinsic desire to be perfect. And, based on GP's description, this desire likely came from his demanding upbringing (read: parents).
GP, I highly recommend Carol Dweck's book 'The Growth Mindset'. It's not just OK to make mistakes -- it's often a GOOD thing because it means you're on the path of progress.