The answer is: functionalism
Functionalism refers to a philosophy that view behaviors should be modified in such a way that help is in achieving our goal/purposes.
For example, if you want to be successful in business, waking up early would serve a function to provide you with more time to work.