Deuteronomy 10:18
16 Therefore, circumcise your hearts and stop being so stubborn! 17 For the Lord your God is God of gods and Lord of lords, the great, mighty, and awesome God who is unbiased and takes no bribe, 18 who justly treats the orphan and widow, and who loves resident foreigners, giving them food and clothing. 19 So you must love the resident foreigner because you were foreigners in the land of Egypt. 20 Revere the Lord your God, serve him, be loyal to him, and take oaths only in his name.
Zechariah 7:10
8 Again the Lord’s message came to Zechariah: 9 “The Lord of Heaven’s Armies said, ‘Exercise true judgment and show brotherhood and compassion to each other. 10 You must not oppress the widow, the orphan, the resident foreigner, or the poor, nor should anyone secretly plot evil against his fellow citizen.’ 11 “But they refused to pay attention, turning away stubbornly and stopping their ears so they could not hear. 12 Indeed, they made their hearts as hard as diamond, so that they could not obey the law of Moses and the other words the Lord of Heaven’s Armies had sent by his Spirit through the former prophets. Therefore, the Lord of Heaven’s Armies poured out great wrath.
Notes and References
"... Since these prophetic texts are from the late monarchy and early exilic period, as are the references in Deuteronomy and the Holiness Code, there is no need to tie concern for the ger to this particular historical event of the late eighth century. The combined concerns of Exodus 22:20–21 belong to the same horizon as the exilic prophetic texts and the other two law codes on which it is dependent. In recent traditio-historical discussions on the combination of these three, the stranger, orphan, and widow, much has been made of the order and arrangement of these groups. It has been observed that within the Deuteronomic tradition generally, there is a fairly fixed order of “stranger-orphan-widow”, which is also followed in Jeremiah 7:6; 22:3; Ezekiel 22:7 (but orphan-widow-stranger in Deuteronomy 10:18). The order in the Covenant Code, however, is different, with the sequence of widow-orphan. Lohfink takes from this the view that the Covenant Code does not yet reflect the fixed formula of Deuteronomy, but in Zechariah 7:10 and Malachi 3:5 the order corresponds to that of the Covenant Code ..."
Van Seters, John A Law Book for the Diaspora: Revision in the Study of the Covenant Code (pp. 131-132) Oxford University Press, 2003