motorola moto g – How to block SMS spamming

I am using a MOTO-G6 and it runs on Android-8.0.0. The default SMS application is Google-Messages.

I am receiving tons of annoying spam SMS from contacts without numbers.
It only shows a name, for example:

VKHLTCHK
HPFAMDOC
HPYESBNK
...
...

I can block these contacts, but I still get sms from these again and again.

Does anyone have this kind of problem? How do you solve this? I am willing to buy a paid application if it exists.