"Eight don't go out, eight don't go home" is actually an educational word left by our ancestors. "Seven don't go out" means not going out before going out, which is what most people call seven things to open the door: "firewood, rice, oil, salt, sauce, vinegar and tea".
"Eight don't go home" means not going home behind the door, which means "filial piety, filial piety, loyalty, faithfulness, courtesy, righteousness, honesty and shame". These are the eight basic moral principles of the ancients. If you violate any of them, you are sorry for your ancestors and have no face to face your family.