Don't conflate your self-worth with your ability to produce in the economy, or your test score, or which college you went to, or how good of a programmer you are. It's such a tragedy that we are so obsessed with achievement and competence.
Why should I be measured by how well I do things. In fact do we think human value can be measured at all?