Google doesn't have a preference for websites built on a specific platform or technology. Instead, Google's algorithms analyze a wide range of factors, including the content and structure of a website, to determine its ranking in search results.
That being said, WordPress is a popular platform that many websites are built on and it provides a solid foundation for creating a well-structured and optimized website. If a website built on WordPress adheres to best practices for search engine optimization (SEO), it can perform well in search results.