God protects those who place their trust in Him. He is always close to the poor who have nothing to give Him but their love, trusting Him to protect them, and those who have compassion on them.
Ebed-Melech, who had carefully rescued Jeremiah from the muddy cistern in the prison court, was promised safety and deliverance by the Lord because of his assistance to Jeremiah and because he had put his trust in God.
Jeremiah 39:9-10
9 Then Nebuzaradan the captain of the guard carried away captive to Babylon the remnant of the people who remained in the city and those who defected to him, with the rest of the people who remained. 10 But Nebuzaradan the captain of the guard left in the land of Judah the poor people, who had nothing, and gave them vineyards and fields at the same time.
Jeremiah 39:15-18
15 Meanwhile the word of the Lord had come to Jeremiah while he was shut up in the court of the prison, saying, 16 “Go and speak to Ebed-Melech the Ethiopian, saying, ‘Thus says the Lord of hosts, the God of Israel: “Behold, I will bring My words upon this city for adversity and not for good, and they shall be performed in that day before you. 17 But I will deliver you in that day,” says the Lord, “and you shall not be given into the hand of the men of whom you are afraid. 18 For I will surely deliver you, and you shall not fall by the sword; but your life shall be as a prize to you, because you have put your trust in Me,” says the Lord.’ ”
12 But the captain of the guard left some of the poor of the land as vinedressers and farmers.
2 Kings 25:12
7 And when all the captains of the armies who were in the fields, they and their men, heard that the king of Babylon had made Gedaliah the son of Ahikam governor in the land, and had committed to him men, women, children, and the poorest of the land who had not been carried away captive to Babylon,
Jeremiah 40:7
7 iNow Ebed-Melech the Ethiopian, one of the 5eunuchs, who was in the king’s house, heard that they had put Jeremiah in the dungeon. When the king was sitting at the Gate of Benjamin,
Jeremiah 38:7
20 And they were helped against them, and the Hagrites were delivered into their hand, and all who were with them, for they cried out to God in the battle. He heeded their prayer, because they put their trust in Him.
1 Chronicles 5:20
40And the Lord shall help them and deliver them; He shall deliver them from the wicked, And save them, Because they trust in Him.
Psalm 37:40
7“Blessed is the man who trusts in the Lord, And whose hope is the Lord.
Jeremiah 17:7