ancient philosophers as far back as thales of miletus had the idea that there is some underlying substance of which everything is made. but that is not the same as our concept of "mass-energy" today (for example, thales thought the underlying substance was water).