To hide pages from Google, use the "noindex" meta tag to tell crawlers to drop...
https://www.apollotechnical.com/how-to-remove-your-own-site-from-google-search-results/
To hide pages from Google, use the "noindex" meta tag to tell crawlers to drop them from search results. If you need a page gone immediately, use the Google Search Console Removals tool to hide it temporarily