“And those that were numbered of them were twenty and three thousand, all males from a month old and upward: for they were not numbered among the children of Israel, because there was no inheritance given them among the children of Israel.”
26:57-62 Levi was God's tribe; therefore it was not numbered with the rest, but alone. It came not under the sentence, that none of them should enter Canaan excepting Caleb and Joshua.