People stopped dying because of (their own) stupidity a long time ago. Selection can still occur if we stigmatize bad behaviors enough.
On the other hand, if we don't stigmatize it, people who are innocent of the sin of stupidity will be harmed. That said, selection would also do its good work in this case, just less effectively and with a sadder outcome for all.
The only way to have an intelligent nation that's pushing forward in terms of technological progress is to have a nation that embraces intelligence and shuns nonsensical stupidity.