Grow out of something

Meaning: To stop doing something as you become older or more mature.

Example: Most children eventually grow out of that habit.