You are absolutely misunderstanding the medieval mind, and many modern religious minds.
Many people today believe in the power of prayer for the dead to help the state of the souls of the departed. Not a majority, but enough that you probably know a few who don't speak about it precisely because of the incredulity people express when people actually believe their religion, especially Christianity.