I can only assume you were watching a different match. The French played brilliantly and deserved their 3-1 win. The Spanish ran around like headless chickens and cheated to get a penalty. They cheated on two other occasions in the penalty box but the ref had realised his mistake by then.
Spain are chokers. France look like a good team. They will beat Brazil and then fall to England in the semi-final.