If you are technically-minded, might I suggest SpamBlocker?: https://f-droid.org/packages/spam.blocker/
It's not the most user friendly, but it provides features like:
- automatically download spam database info
- regex rules for sms
- STIR attestation
- various rules you can adjust (like accepting calls right after using a specific app [like a food delivery app], or accepting calls from contacts, etc.)
Note that if a call or SMS is "blocked", it's still stored in your call / sms logs. It just prevents alerting you