Anteaters evolved independently at least 12 times in the 66 million years since nonavian dinosaurs went extinct.
Ants and termites are good eating and there are plenty of them. They outweigh all other insects, mammals, amphibians and birds combined in the rainforests of South and Central America. And globally, termites alone outweigh all wild mammals by a factor of 10.