Deuteronomy 15:5-15

5 He will bless you only if you listen carefully to the LORD your God and faithfully obey all these commands I'm giving you today.
6 The LORD your God will bless you, as he promised. You will make loans to many nations, but you will not have to borrow from any of them. You will rule many nations, but no nation will ever rule you.
7 This is what you must do whenever there are poor Israelites in one of your cities in the land that the LORD your God is giving you.
8 Be generous to these poor people, and freely lend them as much as they need. Never be hard-hearted and tight-fisted with them.
9 When the seventh year--the year when payments on debts are canceled--is near, you might be stingy toward poor Israelites and give them nothing. Be careful not to think these worthless thoughts. The poor will complain to the LORD about you, and you will be condemned for your sin.
10 Be sure to give to them without any hesitation. When you do this, the LORD your God will bless you in everything you work for and set out to do.
11 There will always be poor people in the land. That's why I command you to be generous to other Israelites who are poor and needy.
12 Whenever Hebrew men or women are sold to you as slaves, they will be your slaves for six years. In the seventh year you must let them go free.
13 But when you let them go, don't send them away empty-handed.
14 Generously give them provisions--sheep from your flocks, grain from your threshing floor, and wine from your winepress. Be as generous to them as the LORD your God has been to you.
15 Remember that you were slaves in Egypt and the LORD your God freed you. That's why I'm giving you this command today.