Ezekiel 20:9
7 I said to them, “Each of you must get rid of the detestable idols you keep before you, and do not defile yourselves with the idols of Egypt; I am the Lord your God.” 8 But they rebelled against me and refused to listen to me; no one got rid of their detestable idols, nor did they abandon the idols of Egypt. Then I decided to pour out my rage on them and fully vent my anger against them in the midst of the land of Egypt. 9 I acted for the sake of my reputation, so that I would not be profaned before the nations among whom they lived, before whom I revealed myself by bringing them out of the land of Egypt. 10 “‘So I brought them out of the land of Egypt and led them to the wilderness. 11 I gave them my statutes and revealed my regulations to them. The one who carries them out will live by them!
Psalm 106:8
6 We have sinned like our ancestors; we have done wrong, we have done evil. 7 Our ancestors in Egypt failed to appreciate your miraculous deeds. They failed to remember your many acts of loyal love, and they rebelled at the sea, by the Red Sea. 8 Yet he delivered them for the sake of his reputation that he might reveal his power. 9 He shouted at the Red Sea and it dried up; he led them through the deep water as if it were a desert. 10 He delivered them from the power of the one who hated them and rescued them from the power of the enemy.
Notes and References
"... The final illustrative text I will consider is Psalm 106:7–8. This text is an excellent example of how various motive statement themes can be woven together for great effect. Psalm 106:7 details the sins of Israel beginning in Egypt. These sins include: the failure to consider YHWH’s wonderful acts, a lack of remembrance of his abundant חסד ('lovingkindness), and rebellion. The center point of the three, the failure to remember YHWH’s abundant חסד is extremely poignant from a motive perspective. Roughly 5% of the passages in our study contain זכר ('to remember'). The uses include YHWH’s remembrance of the covenant (Exodus 6:5; Deuteronomy 9:27; Jeremiah 14:21; Psalm 105:42), of his fatherly relationship with Israel (Jeremiah 31:20), of Jeremiah’s faithful service (Jeremiah 18:20), YHWH’s not remembering sin (Isaiah 43:25; Psalm 25:7; 79:8), and the appeal to YHWH to remember mercy and חסד (Psalm 25:6–7). If we expand our search to include the use of חסד without remembering we find its positive use in motive statements in Deuteronomy 7:12; 1 Kings 3:6; Jeremiah 9:23; 31:3; Hosea 6:6; Micah 7:18; Psalm 6:5; 25:6–7; 44:27; 69:17; 103:11; 106:7; 109:21; 143:12; and Lamentations 3:32 ... YHWH would act for the sake of his name in order that his power might be “acknowledged, a key motif in the exodus story and in Ezekiel (Exodus 14:4, 18; Ezekiel 20:26, 38, 42, 44) and an aim for the deliverance the psalm longs for.” ..."
Thigpen, Michael Divine Motive in the Hebrew Bible: A Comprehensive Survey and Analysis (pp. 65-66) Gorgias Press, 2015