Deuteronomy 24:16-22

24:16 Fathers must not be put to death for what their children do, nor children for what their fathers do; each must be put to death for his own sin.

24:17 You must not pervert justice due a resident foreigner or an orphan, or take a widow’s garment as security for a loan. 24:18 Remember that you were slaves in Egypt and that the Lord your God redeemed you from there; therefore I am commanding you to do all this. 24:19 Whenever you reap your harvest in your field and leave some unraked grain there, you must not return to get it; it should go to the resident foreigner, orphan, and widow so that the Lord your God may bless all the work you do. 24:20 When you beat your olive tree you must not repeat the procedure; the remaining olives belong to the resident foreigner, orphan, and widow. 24:21 When you gather the grapes of your vineyard you must not do so a second time; they should go to the resident foreigner, orphan, and widow. 24:22 Remember that you were slaves in the land of Egypt; therefore, I am commanding you to do all this.