an end in itself
noun phraseDefinition of an end in itself
: something that one does because one wants to and not because it will help achieve or accomplish something else
She started exercising for her health, but she enjoyed it so much that exercising became an end in itself. For him, taking classes was an end in itself.