This would be an example of motivation through admiration. After seeing a friend doing well, this is a positive emotion to feel rather than shame or jealousy. If an individual is able to take inspiration from the success of others, this is a mindset which in itself should be admired.