I looked for "The Ant and the Scarab Beatle" online as I wasn't familiar with the title, but it is indeed the same story as "The Ant and the Grasshopper". I guess since these fables survive from so many different sources, none of which written by Aesop himself, variants are numberless.