Apple - How can I remove the Mojave download without installing it?
It should be in Applications, as "Install macOS Mojave" - just in case you were looking for it under "M".
The installer is simply an app, so like any app, just put it in the trash and empty the trash.