With this Serbia result, Switzerland is in the round of 16

Even after the bankruptcy in Brazil, Switzerland has everything in its own hands.
wm 2022
These scenarios are enough: Switzerland beats Serbia on Friday.
wm 2022
Switzerland draws against Serbia and Cameroon does not win against Brazil.
wm 2022
If Cameroon wins, it would be complicated. So Switzerland would still progress: Switzerland draws against Serbia, Cameroon wins against Brazil by no more than one goal and Switzerland scores at least two goals more than Cameroon in this case.