At least in my country, incoming call filters do wonders, in particular those which query the incoming number at an online database to show you who's the caller.
Android actually does provide some amount of filtering[1], but if someone, say, spoofs a seemingly legitimate number, it will come through fine.
[1]: https://www.androidpolice.com/2016/07/25/googles-phone-app-n...