Every account has Apache SpamAssassin running. Messages that score as spam are moved to the spam folder of the mailbox, which you can see in webmail and in any IMAP mail app.
Greylisting (Configure Greylisting in cPanel) adds another layer: unknown senders are asked to retry a few minutes later, which almost all legitimate mail servers do and most spam cannons do not. It can delay a first message from a new contact by a few minutes.
If you get bounces for mail you never sent, someone is forging your address, which is common and does not mean you were hacked. SPF, DKIM and DMARC records (set up automatically on every domain here) tell receiving servers to reject those forgeries. See SPF, DKIM and DMARC.
If, on the other hand, cPanel's Email Deliverability or Track Delivery shows real outgoing mail you do not recognize, a mailbox password or a website form may have been compromised. Change the password, check Email Accounts for addresses you did not create, and open a ticket; we will help you find the source.