The phrase "to take the prize" means to win or be awarded the top or most desirable thing in a competition or contest.