Very rare for that to be the case. The point is emphasizing ER only in ODIs is mistaken. You need wickettaking.
Not emphasizing only ER but giving it more weight. To make my point more clear, let's look at the two sets I was citing. You are pointing out wicket taking as if the first set is going to blast oppositions.
First set : Best 4 pacers in ODI rated by many.
Wasim - Avg 23.5 ( 1.4 wickets per match)
McGrath - Avg 22 ( 1.5 wickets per match)
Starc - avg 23.4 ( 1.9 wickets per match )
Garner - Avg - 18.8 ( leaving him out because he is common in both sets )
Second set : Hardest pacers to hit in their eras as rated by many.
Ambrose - Avg 24.1 ( 1.3 wickets per match )
Bumrah - Avg 23.5 ( 1.7 wickets per match )
Pollock - Avg 24.5 ( 1.3 wickets per match )
Garner - Avg 18.8
Many are making wrong assumptions that the first set will simply roll over oppositions despite being expensive but Avg and wickets per match does not indicate that.
Both sets are not likely to bowl opposition out, but the second set is harder to score and likely to give less runs in those 40 overs. Even with slightly less wicket picking ability, they may simply give same runs as the first set. That's why I was trying to say that lot of us don't put enough emahpsis on ER despite being far more important in limited overs.
Now if bowlers are pickig wickets 3 wickets per match then it's a different situation and you are talking about bowling out oppositions. But with 1.4 or 1.5 kind of rate, it will be 1 wicket in one match and 2 wickets in another. If it's 3 in one match then it will zero in other. Taken together they won't bowl out oppositions too many times so having 4 hardest bowlers to hit will ensure that you are chasing/defending less runs. And then hardest bowlers to hit are not really that far behind in picking wickets or avg.
I don't think ER itself can decide the best combination, but I am not sure that 4 hardest pacers taken together will be less effective than the 4 best pacers over a long period in limited formats. Individually seond 4 may not be the best pacers but due to nature of limited overs, having the lowest ER with no escape may make them as effective as the best 4 pacers conbination. Just thinking aloud here.