Social Competence is the correct answer.
In Psychology, Social Competence is known to be the collection of social, cognitive, emotional and beavioral skills that allows individuals to adapt and perform successfully in social settings. This social competence is, also, responsible for taking in consideration another person's perspective, learn from experiences from the past, and also avoid problems in the future.