The FIFA rankings state Switzerland are the sixth-best soccer team in the world but Roger Federer said his "lethargic" countrymen got what they deserved at the World Cup after they were beaten 1-0 by Sweden in the round of 16.

Vladimir Petkovic's men had been expected to emerge triumphant from Tuesday's showdown with 24th-ranked Sweden in Russia, but a lack of cohesiveness on the pitch left Federer and his eight million fellow Swiss dejected after the final whistle.

Roger Federer knows what it takes to win. Credit:AP

"I was disappointed yesterday. I expected more from the team," Federer, who has given Switzerland plenty to cheer about as he collected 20 grand slam titles over the past 15 years, told reporters at Wimbledon on Wednesday.

"That's the thing with knockout. You have to bring it like it was the finals every match, it's 11 guys at the same time. It can't just be three guys, eight guys. It needs to be everybody at the same time doing the same thing.