That's basically what it is, and maybe also a mindset of believing you matter as your own person, rather than just a means to and ends. Having at least some selfishness of that sort (at least when living in a culture designed for it - maybe things are different in more group-oriented cultures) is really important for things like being confident, being able to say no to others' requests, and not getting depressed.