Though Atlas is commonly referred to as holding the weight of the world on his shoulders, it was actually the sky that he was condemned to hold, not the earth.
Atlas was also depicted in Homer’s Odyssey, Book I, as a marine creature who supported the columns that held earth and heaven apart (source).