Historically speaking, this misconception used to exist, right? Somewhat like Copernican heliocentrism, no? When (and, if you wish, how) did this folk concept regarding the biological basis of cognition come to be revised?
When was it recognized that thinking occurs in the brain and not in the heart?