Meaning: This sentence describes how everything was in a good or satisfactory state in the world.
Choice of Words: "All" means everything, and "well" means in a good or satisfactory state. So, "all was well with world" describes how everything was in a good or satisfactory state in the world.