Rivers empty into oceans because gravity pulls water downhill and the ocean is the ultimate base level for nearly all continental drainage. Here's the step-by-step physics:
Water at elevation has potential energy. Gravity converts it to motion. The steeper the gradient, the faster the flow. Rivers seek the path of least resistance (steepest descent) to the lowest accessible point.
Continents are shaped like shallow bowls—mountains at edges, basins in centers. But the lowest points on continental margins are sea level. Rivers incise valleys, capture tributaries, and merge into trunk streams that funnel toward the coast.
Evaporation (ocean) → atmospheric transport → precipitation (land) → runoff/groundwater → river → ocean. The cycle is solar-powered; rivers are the return conduit. No cycle = no rivers.
Base level = lowest elevation to which a river can erode. Ultimate base level = sea level. Local base levels (lakes, resistant rock) create temporary pauses (knickpoints, waterfalls), but given geologic time, all rivers grade to sea level.
~18% of Earth's land drains to closed basins (no ocean outlet):
Dams, diversions, groundwater mining now prevent many rivers from reaching the sea (Colorado, Indus, Yellow, Murray-Darling, Rio Grande—often dry at mouth). Humans have become a new base level.
Rivers flow to the sea because the sea is the planet's drain. We're increasingly plugging the drain.