This is related to the shape of spiders. Because the spider looks like a happy word physically, the ancients regarded the spider as a symbol of happiness and good luck. It slipped down a spider silk on the spider web, indicating that "good luck is in the sky". Therefore, from the perspective of geomantic omen, the appearance of spiders at home actually indicates that there will be happy events.
As the saying goes, Chinese culture has a long history and is profound, so the traditional cultural knowledge accumulated in the long river of historical development is also very worthy of our inheritance and development. If you can't beat spiders, this folk custom is a typical case. As the saying goes, saving a life is better than building a seven-level pagoda, and giving life freedom is also accumulating blessings for yourself, thus contributing to a happier life. This is a story about spiders in the house.
Other reasons for having spiders at home
There are spiders at home, probably because your living environment is humid. Insects and spiders prefer humid environment, which is beneficial to their survival and hunting. It is also because of your living environment that you don't close the doors and windows at ordinary times. There are many trees and grasslands outside the house, which is also the living environment that spiders like. You may come to your room when you are not looking.
The room is not clean enough. Maybe you don't clean the corners in time or there are leftovers in some hidden corners, then insects and spiders will appear. If there is someone at home or the hygiene is relatively clean, it can effectively prevent spiders from patronizing your home.