Rivals bring out the best and worst in each other. A good villain can provoke the protagonist so much that she “crosses the line”, drawing her deeper into the villain’s world. This is the Batman/Joker effect.
If you’re writing a pilot, know your show’s “mythology”. Know the history, tone, atmosphere and driving conflict that informs every episode. Know what made your characters and what could one day break them.