The AMA Code of Medical Ethics are a set of standards that define honorable behavior for a physician. Stay up-to-date on the Code with news, articles and resources from the AMA.
A healthier way of reacting would be to congratulate your friend and be happy that they made the team. Support them and practice with them so you can try out for the team next year.