The Sages taught: One who muzzles a cow and threshes with it is flogged, and in addition he must pay the owner of the cow four kav for a cow, the usual amount it consumes while threshing, and three kav for a donkey.
This person has now violated two laws: 1) not muzzling an animal while it’s threshing and 2) not feeding the animal (or allowing it to eat) . So, the safes say he gets flogged for the muzzling AND has to pay for the food the animal did not get to eat. But there is a problem:
The Gemara asks: But isn’t there a principle that an offender is not flogged and also punished by death, and likewise he is not flogged and rendered liable to pay?
We have learned a rule that someone who transgresses a prohibition is liable to receive only one punishment for a single offense – the more severe punishment.
Abaye said: In accordance with whose opinion is this ruling? It is that of Rabbi Meir, who says in general that one can be flogged and be liable to pay. Rava said that there is a difference between the transgression itself, which is between the offender and God, for which he is liable to be flogged, and the loss he caused the owner of the cow, for which he must pay restitution.
I love that line! We have sinned both against God AND the animal and must pay for both.
Rav Pappa stated a different answer: From the time of his pulling of the cow to rent it for threshing he was rendered obligated to provide its sustenance when it threshes, but as for flogging, he is not liable to be flogged until the actual time of muzzling.
(Here the issue is resolved by saying the sins happened at different times so he gets punished for both separately. )
The gem is the consciousness that we commit sins both against God and God’s creation and neither are okay. How often do we do things thinking no one will know or care? God will. But how many times do we do things that hurt God’s creation thinking we are not violating God’s will? Impossible.