Unlike China, Japan, Vietnam or Taiwan, korean folk temples aren't commonly found in cities, but villages, mountains and farmland. Neo-confucianism in Joseon was the most exclusive and separatist teaching among the east asian teachings. Additionally it did not approve of the supernatural power or the spirits/ghosts. So it was a fatal blow to shamanism. The teachings of Confucianism strongly emphasised rationality, for the Confucian scholars shamanism was just a vulgar thing, and they wanted to be rid of it as quickly as possible. Consequently the shamans were degraded to the lowest class, and for them entry to the cities was banned. Thus shamanism became a religion for the lower class of peasants, especially for women.