Nope, knowing how to cook is actually better, because you can help your future girl friend/wife cook.
And sometimes girl actually prefer guys that knows how to cook then guys who doesn't. And now in restaurants you see more guys cooking then girls!
Either way, as i girl, i would prefer guys who knows how to cook better then guys who doesn't.