Brachos 21 – ברכות כא

The Gemara derives the requirement of ten men for a minyan from the word ‘eida’ mentioned regarding Korach which is further derived from the word ‘eida’ mentioned regarding the ten meraglim (Megilah 23a as quoted in the gilyon/margin here).  Is there perhaps any lesson to be learned from the fact that the Torah chose to derive this lofty concept of (reciting words of sanctity in a) minyan of ten – from the wicked meraglim?