Pirlo: 'Defeat did us good'