Earth had water even before the collision that made the moon

Comparing moon rocks to volcanic ones from the ocean floor shows that Earth’s water may have stuck around even through the giant impact that formed the moon