Sometimes losing a battle helps you find a new way to win the war.