Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
Usually, it is not the best idea to block Google bots from your entire website since they are the ones that crawl your website and add your content to the Google Search results.
I have found there are users in a similar situation in Google Forums and they gave a few solutions, you can check them here: https://support.google.com/webmasters/thread/2261073?hl=en
Looking forward to helping you. Thank you.
​​​​​​​
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.