These two verses are explained already in the same words: see Ezekiel 18:6,7.
Related Commentaries of Ezekiel 18:16
Ezekiel 18:16
16 Neither hath oppressed any, hath not withholden the pledge, neither hath spoiled by violence, but hath given his bread to the hungry, and hath covered the naked with a garment,