How to delete unused apps like Stocks.app and Grapher.app from Mojave [duplicate]

Short version: you can't delete them (without some hackery), and even if you could, it wouldn't help you.

On modern macOS systems (since Big Sur, maybe even Catalina?; can't remember) the system is divided into a read-only partition with all the system/OS stuff, and a writeable partition where all your file live (plus any additional disks you may have). MacOS "overlays" the things from the read-only partition into your directory tree (as seen from Finder; from the shell or apps point-of-view, it's clearly divided).

Apple-provided apps are on the read-only partition. So even though they appear in /Applications in Finder (and some apps), in reality, they're in /System/Applications. Deleting them would require you to remount the read-only partition (which you can only do in Recovery Mode, as far as I know). But even then, it wouldn't help you with your space problem as the size of the read-only partition does not change, thus you would not get any additional free space on your main partition by deleting the system-provided apps.