>>3630925So you had a bright sky and decided to expose for the foreground? Of course the sky is over exposed then. The foreground was probably 2-3 stops darker than the sky so if you told your camera to expose for that then there ya go... Also, I don't know what metering mode you had your camera set to...but if it was just center averaging the scene and you made it completely meter off the foreground...it made the foreground ~18% grey so that's why the foreground even turned out overexposed.
So ya, you thought you were smarter than the camera and did some pretty incorrect things as far as metering/exposing goes. Next time just compose and shoot and see how things turn out.