12 Designate a place outside the camp where you can go to relieve yourself.
13 As part of your equipment have something to dig with, and when you relieve yourself, dig a hole and cover up your excrement.
14 For the LORD your God moves about in your camp to protect you and to deliver your enemies to you. Your camp must be holy, so that he will not see among you anything indecent and turn away from you.
Only thing that's relevant, and it only a sin if you don't cover it after.
Half of the old testament just feels like health codes. This is make sure to not poop where you live. Other stuff is don't eat foods that will make you sick.
Yep. There's also a lot of rules about farming. If you accidentally drop some of the harvest while you're farming, you have to leave it there so that the poor can take it (there's also a command to care for the poor directly). Also, you have to skip farming altogether once every seven years to let the land rest, which seems like a basic form of crop rotation.
It goes even deeper if you get into Judaism and why they have two entirely separate kitchens. Ancient people dying of trichinosis in the desert heat but not understanding how disease functions do weird things to try to figure out how to safely survive, like banning certain foods entirely such as shellfish.
Diarrhea is still one of the top killers of children worldwide, which is one of the main side effects of food-borne illnesses like trichinosis.
And if you put bacon on top of it, cook it yourself on a Friday night while wearing cotton underwear and polyester shorts, you can easily commit four sins before dinner
The old testament has civil laws too not just moral laws. The civil laws are for the good government of the historical national of Israel, not transcendent moral laws
Does flushing it down the toilet qualify? It seems to me that it qualifies. When flushed, excrement is moved to a location (a sewage line or septic tank) that is outside the “camp” (your home), already dug, and already covered, thereby preventing the “camp” from becoming “indecent” (unsanitary). That's the whole reason why sewage systems were invented: it's more convenient and can handle far more excrement than simply burying it in a hole in the backyard.
18 And he said to them, “Then are you also without understanding? Do you not see that whatever goes into a person from outside cannot defile him, 19 since it enters not his heart but his stomach, and is expelled?”[a] (Thus he declared all foods clean.) 20 And he said, “What comes out of a person is what defiles him.