Teaching your kids

How do you go about teaching your kids to be motivated by their own goals without external rewards? I realized in my 20’s that I am a people pleaser primarily because I enjoy the external reward I get from them (e.g. Working hard in school to get good grades to please my parents; working long hours at work to show to my boss that I was dedicated; losing weight to get compliments from my mom and family; etc). It has never come from an internal drive. I am trying to break this habit for the first time in my life & I feel like it would’ve been much easier for me if I was taught to find motivation / pleasure out of my own accomplishments without having that external reward. What do you do to teach your kids this incredible life skill? At what age do you begin the process?