What's in front is shown behind!

When I try to put water (just a large blue quad right now) into my 3D terrain (before I’ve drawn the land), the entire quad shows up behind the land, even the parts that are in front. The opposite of this happens when I draw it after the land.

How do I fix this?
-Andrew

glEnable(GL_DEPTH_TEST);