2 Samuel 24:10nakhah
Now David's heart troubled him after he had numbered the people. So David said to the Lord, "I have sinned greatly in what I have done. But now, O Lord, please take away the iniquity of Your servant, for I have acted very foolishly."
David's troubled heart leads him to confess his sin.
Daniel 6:20
When he had come near the den to Daniel, he cried out with a troubled voice. The king spoke and said to Daniel, "Daniel, servant of the living God, has your God, whom you constantly serve, been able to deliver you from the lions?"