• Deuteronomy 23:12-14

    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.

    • 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.