Augustine Of Hippo said this quote

This is pride when the soul abandons Him to Whom it ought to cleave as its end and becomes a kind of end to itself. This happens when it becomes its own satisfaction.