The use of a "rival" in literature is a common theme. A lot of the time, a strong rival inspires the protagonist to become better, and does so for the rival as well. They both feed off of being competitive with one another. Thus, a good rivalry is good for the rivals (more on that, and when it is bad, below).