Being smart doesn't stop one from doing stupid shit the same way that being stupid doesn't stop one from doing something smart on occasion.
Ideally, you'll try to make your actions tilt more towards the smart than towards the stupid end of the spectrum.