Er...not quite. It's a mortal sin if the players go and proactively look for something to do in the fiction and the DM doesn't give them anything to find. But if the players/PCs don't go looking the DM's under no real obligation to shove an adventure into their faces, particularly in any sort of sandbox-style campaign.
I have a beef against some so called 'sandbox' DMs. There are some DMs out there that think they run a sandbox, but they don't. The secret to running a sandbox is that you have to be willing to prep vastly more material than you need or intend to use. Indeed, that is my definition of a sandbox. If you aren't prepping material you don't intend to use, you aren't running a sandbox. In a true sandbox, wherever you go, there is the fun, and eventually players get enough experience in the setting that they can orientate themselves within it and start being proactive and deciding what goals that they have, what factions that they intend to ally with, who they think the villains are, and so forth. One conceivable way to run a sandbox for example might be to have a stack of low level modules, and you've drawn up a setting that scatters these low level modules liberally all over a fairly small homebrew map. You might need to write 16 different adventures each with plot points that might lead to further adventures. The point is that sandboxes are informationally dense. They are not for the faint-hearted DM, but something to undertake once you are experienced and if you are the sort of person that world-builds continually in your leisure time because it's one of the most enjoyable things you do.
All well and good. I've had some great times in a sandbox.
But in my experience a good half of the people who run a sandbox do so because they think its a way to cut down on their prep time. Instead of seeing it as a style where they will need to produce vastly more content than they'll need, they see it as a style where they don't really have to prep anything because they can improvise it on the fly. And invariably, they are suffering from Dunning-Kruger effect and are vastly less capable at improvising than they think they are, because the secret to good improvisation is that you've prepped so much material that its easy to adapt things you've already done to the moment. For example, further up the thread someone suggested that the material in an adventure path became useless if people got off the path. And that may be true if your dealing with a less experienced DM, but it's perfectly easy to take adventure path material and plug it into a sandbox. In the case of the best as I can tell so far, completely on rails "Skull & Shackles" campaign, it wouldn't at all be hard to pick up a couple of relevant Golarion sourcebooks, and if the party got off the rails and went sandbox on you, you could accommodate that. The material that you didn't use from the Adventure Path, could still come back at a later point, just with a different timing and setup. Instead of A->B->C, you might do A->B->H->X->C->K->D. The veteran DM would be able to flex. In the hands of an experienced DM, modules become setting guides.
All DMing involves a certain amount of illusionism, and the trick is to be able to pull off the illusion so that to the players the world is real and has always been there and is living and changing and responds to what their characters do. The key to success as a DM is to give the players the experience of exploring something, and discovering secrets you have been hiding on your side of the screen. In my experience, no improvisational DM is able to sustain the illusion. So many tricks that improvisational players tell you to use, destroy that sense you are exploring a real world. Things like taking your queues from the players own expectations, quickly cause the players to realize that nothing is real. The joy of exploration is not finding what you wanted to find, but discovering what you didn't know was there. Guys that run games on random encounters or other random generators, never produce anything as interesting as the GMs that use those same random generators before they start play to inspire and produce content that then flows off their tongue when called for. If your random encounter table isn't imbedded in an already heavily detailed world, then it is never going to produce anything particularly rich.
I for the life of me don't understand why anyone would think that a group of players thrust in to a setting which even the DM does not clearly see would have enough information about the setting to make good choices about what they want to do. If you are running a campaign, just as if you are writing a novel, the first page is the most important page of the book. I don't care how clever your setting is, if that cleverness requires overturning a random rock on hex grid A10318 because it isn't believable that the PCs would find something that's been hidden for 1000 years, you have a completely wrong-headed idea of what running a game is like, and it's not your players fault that they didn't go looking. Paint the damn scene. Put up signposts everywhere. Have the adventure come to them. Then, once they've become locals and know the lay of the land, they can make choices about where to explore. Do you have an obligation to have the adventure come to the players, even in (especially in!) a sandbox? Yes. A thousand times yes. And anyone that tells you otherwise isn't worth listening to. Shove the adventure in their faces, and keep shoving adventures in their face until they take a hook. Do not expect the players to find your content without a map. Do not expect the players to understand your setting without a detailed guide. Do not expect the players to care about the setting until after they are immersed in it. And above all, do not expect your players to create your content for you.
</rant>