Sublimation

A defense mechanism through which unacceptable impulses and instinctive urges are diverted into personally and socially acceptable channels; e.g., aggression may be diverted through sports activities.