Where Did Water Come From?

Unlike all the planets in our solar system, Earth’s surface is about 70% liquid water, which while favorable for life, is also kind of weird, because all we know about how and when our planet was created says Earth’s surface should be dry as a bone. So, where did water come from?