You shouldn't get so discouraged about things.
Carl is working on a complex project at home, and a part he is working on has broken.
Carl wants to address the part breaking.
Carl starts looking for a replacement for the part, and gets back to work.
Carl gives up on the project, abandoning months of work.
Carl gains the confidence to try difficult things, and becomes very accomplished.
Carl never tries anything complicated again, and he gets very bored.