Spiders come for the food. What do they eat? Other bugs. Those little gnats by your fruit bowl? Spider snacks. That fly buzzing around the lamp? Spider delivery pizza. If you kill the small bugs, the spiders leave.
Take out your trash every day. Don’t let dirty dishes pile up. Clean up crumbs under the toaster. If you starve the buffet line, the big scary diners stop coming. It’s basic pest economics.