I think the issue for me can be "mastery" or "competence". I think "felt mastery" probably matters more to job happiness than actual mastery, and the two can relate in funny ways i.e. the more actual mastery you have, the more aware you become of your flaws, and therefore the less mastery you feel.