The article demonstrates how the gnostic paradigm, in which Dostoevsky formed the problems of his early work, is present in the story The Landlady. It is proven that the central plot of the story (Ordynov’s meeting with Katerina and Murin) is based on the writer’s reinterpretation of the metaphorical plot of “The Hymn of the Pearl,” a parable included in the apocryphal acts by the Apostle Thomas. The parable metaphorically recounts the journey of a spiritual man (pneumatic) in a world of matter created and controlled by the Demiurge. This type of person contains the spirit, a particle of the true divine world of the Pleroma. Once in the world of matter, “eating its food,” the spirit is intoxicated and forgets about its true origin. The task of the spiritual man, according to the parable, is to remember that his true home is the Pleroma, and to return to it he must free the Pearl (the divine soul), seized by the serpent (the Demiurge, the ruler of the matter). According to researchers, the imagery of the parable had a great influence on mystical philosophy and art, which flourished, in particular, at the turn of the 18th and 19th centuries. Dostoevsky places the sacred history, presented in myth as in its ideal embodiment, in the reality visible to him, where people are cut off from one another, where passion dominates “unchosen love,” and where the connection with the true Father is lost. Even those who have been given the opportunity to see more than the rest find themselves, at this stage of Dostoevsky’s comprehension of the mystery of man, not strong enough to defeat the serpent.