(43) The Divine resolution to bestow a companion on Adam met the wishes of man, who had been overcome by a feeling of isolation when the animals came to him in pairs to be named. To banish his loneliness, Lilith was first given to Adam as wife. Like him she had been created out of the dust of the ground. But she remained with him only a short time, because she insisted upon enjoying full equality with her husband. She derived her rights from their identical origin. With the help of the Ineffable Name, which she pronounced, Lilith flew away from Adam, and vanished in the air. Adam complained before God that the wife He had given him had deserted him, and God sent forth three angels to capture her. They found her in the Red Sea, and they sought to make her go back with the threat that, unless she went, she would lose a hundred of her demon children daily by death. But Lilith preferred this punishment to living with Adam. She takes her revenge by injuring babes--baby boys during the first night of their life, while baby girls are exposed to her wicked designs until they are twenty. days old The only way to ward off the evil is to attach an amulet bearing the names of her three angel captors to the children, for such had been the agreement between them.

אמר רבי חנינא אסור לישן בבית יחידי וכל הישן בבית יחידי אחזתו לילית

Rabbi Hanina said, "It is forbidden to sleep in a house by yourself. All who sleep in a house alone brings about Lilith."

Based on the Midrash in text 1, why would Rabbi Hanina think that sleeping alone would bring about Lilith?