What does "Don't shit where you eat" mean?

Of course there are earlier threads:

But I’m really curious, OP, where you have seen the phrase in the past to be familiar with it, but to have not seen the context that it is an aphorism and not a hygene tip? It seems like interpreting it literally would be a non-sequiter.