No. It's water resistant, a very different thing
iPhone 8 and iPhone 8 Plus are splash, water and dust resistant, and were tested under controlled laboratory conditions with a rating of IP67 under IEC standard 60529. Splash, water and dust resistance are not permanent conditions and resistance might decrease as a result of normal wear.