There are two very different possible meanings of this phrase:
Spain expected to win the World Cup
If this is a newspaper headline — without a period at the end— it could mean
Some people expect Spain to win the (upcoming) World Cup.
Spain is expected by some people to win the (upcoming) World Cup.
The “some people” could be experts, a majority of people in a survey, oddsmakers, and so on. The subject of the verb is unstated.
“Expected” here is used to mean “is expected” — headlines typically omit the verb “to be”.
If this is a complete sentence — with a period at the end— then it could mean
The people of Spain expected to win the World Cup.
The soccer team of Spain expected to win the World Cup.
The sentences are talking about a past World Cup. (Maybe the most recent one, maybe a previous one. Maybe they won it, maybe they didn’t – but they had the expectation that they would be the winner.)
This is not the passive voice at all. It’s just the past tense. “Expected” here means the same as:
Spain had expected to win the World Cup.
The people of Spain had expected to win the World Cup.
The soccer team of Spain had expected to win the World Cup.
Have not can be used for something that you didn't do at a certain time,
e.g (I have not done the homework) this could be a simple one time occurrence and every time previously you have done it
Using the other example,
(I have never done the maths homework) for all the time you have been doing maths you never completed the homework once.
[As a side note, I have not can be used with yet (I have not done the Maths homework yet) to indicate you are probably going to do it in the future, you can't use I have never with yet.]
[Another side note, you can use "I have never" as a sort of exaggeration (usually adding ever, so "never ever", as in:
Girlfriend - Did you lie to me?
Boyfriend - I have never ever lied to you?
Obviously, everyone lies to people at some point, so it was used as emphasis]
I hope this helped :3
Best Answer
"Have never won" should not be used here. Obviously, one of the teams has now won. The correct form would indeed be "had never won," indicating that neither of the teams had won until that game.