Yes. Intelligence exists because stupidity exists.
If you lived in a place where it never rains. You wouldn't call sunny weather good weather. It would simply be weather. In the same way you can't value intelligence if you don't know what stupidity is and vice versa.