Nehemiah 9:33-34

9:33 You are righteous with regard to all that has happened to us, for you have acted faithfully. It is we who have been in the wrong! 9:34 Our kings, our leaders, our priests, and our ancestors have not kept your law. They have not paid attention to your commandments or your testimonies by which you have solemnly admonished them.

Daniel 9:7-11

9:7 “You are righteous, O Lord, but we are humiliated this day – the people of Judah and the inhabitants of Jerusalem and all Israel, both near and far away in all the countries in which you have scattered them, because they have behaved unfaithfully toward you. 9:8 O LORD, we have been humiliated – our kings, our leaders, and our ancestors – because we have sinned against you. 9:9 Yet the Lord our God is compassionate and forgiving, even though we have rebelled against him. 9:10 We have not obeyed the LORD our God by living according to his laws that he set before us through his servants the prophets.

9:11 “All Israel has broken your law and turned away by not obeying you. Therefore you have poured out on us the judgment solemnly threatened in the law of Moses the servant of God, for we have sinned against you.

Daniel 9:14

9:14 The LORD was mindful of the calamity, and he brought it on us. For the LORD our God is just in all he has done, and we have not obeyed him.

Romans 10:3

10:3 For ignoring the righteousness that comes from God, and seeking instead to establish their own righteousness, they did not submit to God’s righteousness.