There are numerous upon numerous times when God’s people cried out to Him and He delivered them even at times when they were living in sin. A lot of times when the word “cry” or any variation of it is used in scripture it is directed towards God.
Judges 3:9 And when the children of Israel cried unto the LORD, the LORD raised up a deliverer to the children of Israel, who delivered them, even Othniel the son of Kenaz, Caleb’s younger brother.
Judges 3:15 But when the children of Israel cried unto the LORD, the LORD raised them up a deliverer, Ehud the son of Gera, a Benjamite, a man lefthanded: and by him the children of Israel sent a present unto Eglon the king of Moab.
Exodus 3 7 And the LORD said, I have surely seen the affliction of my people which [are] in Egypt, and have heard their cry by reason of their taskmasters; for I know their sorrows;8 And I am come down to deliver them out of the hand of the Egyptians, and to bring them up out of that land unto a good land and a large, unto a land flowing with milk and honey; unto the place of the Canaanites, and the Hittites, and the Amorites, and the Perizzites, and the Hivites, and the Jebusites.
1 Samuel7 8 And the children of Israel said to Samuel, Cease not to cry unto the LORD our God for us, that he will save us out of the hand of the Philistines.9 And Samuel took a sucking lamb, and offered [it for] a burnt offering wholly unto the LORD: and Samuel cried unto the LORD for Israel; and the LORD heard him.
2 Samuel22 7 In my distress I called upon the LORD, and cried to my God: and he did hear my voice out of his temple, and my cry [did enter] into his ears.8 Then the earth shook and trembled; the foundations of heaven moved and shook, because he was wroth.
Psalms 3:4 I cried unto the LORD with my voice, and he heard me out of his holy hill. Selah.
Psalms 5:2 Hearken unto the voice of my cry, my King, and my God: for unto thee will I pray.
Psalms 18:6 In my distress I called upon the LORD, and cried unto my God: he heard my voice out of his temple, and my cry came before him, even into his ears.
Psalms 28:1(A Psalm of David.) Unto thee will I cry, O LORD my rock; be not silent to me: lest, if thou be silent to me, I become like them that go down into the pit.
Psalms 28:2 Hear the voice of my supplications, when I cry unto thee, when I lift up my hands toward thy holy oracle.
Psalms 34:15 The eyes of the LORD are upon the righteous, and his ears are open unto their cry.
Psalms 34:17 The righteous cry, and the LORD heareth, and delivereth them out of all their troubles.
Psalms 22:5 They cried unto thee, and were delivered: they trusted in thee, and were not confounded.
Psalms 22:24 For he hath not despised nor abhorred the affliction of the afflicted; neither hath he hid his face from him; but when he cried unto him, he heard.
Psalms 30:2 O LORD my God, I cried unto thee, and thou hast healed me.
Psalms 30:8 I cried to thee, O LORD; and unto the LORD I made supplication.
Psalms 31:22 For I said in my haste, I am cut off from before thine eyes: nevertheless thou heardest the voice of my supplications when I cried unto thee.
Psalms 34:6 This poor man cried, and the LORD heard him, and saved him out of all his troubles.
Psalms 66:17 I cried unto him with my mouth, and he was extolled with my tongue.
Psalms 39:12 Hear my prayer, O LORD, and give ear unto my cry; hold not thy peace at my tears: for I am a stranger with thee, and a sojourner, as all my fathers were.
Psalms 40:1 (To the chief Musician, A Psalm of David.) I waited patiently for the LORD; and he inclined unto me, and heard my cry.
Psalms 55:17 Evening, and morning, and at noon, will I pray, and cry aloud: and he shall hear my voice.
Psalms 56:9 When I cry unto thee, then shall mine enemies turn back: this I know; for God is for me.
Psalms 57:2 I will cry unto God most high; unto God that performeth all things for me.
Psalms 61:1 (To the chief Musician upon Neginah, A Psalm of David.) Hear my cry, O God; attend unto my prayer.
Psalms 61:2 From the end of the earth will I cry unto thee, when my heart is overwhelmed: lead me to the rock that is higher than I.
Psalms 69:3 I am weary of my crying: my throat is dried: mine eyes fail while I wait for my God.
Psalms 77:1 (To the chief Musician, to Jeduthun, A Psalm of Asaph.) I cried unto God with my voice, even unto God with my voice; and he gave ear unto me. Psalms 86:3 Be merciful unto me, O Lord: for I cry unto thee daily.
Psalms 88:2 Let my prayer come before thee: incline thine ear unto my cry;
Psalms 89:26 He shall cry unto me, Thou art my father, my God, and the rock of my salvation.
Psalms 102:1 (A Prayer of the afflicted, when he is overwhelmed, and poureth out his complaint before the LORD.) Hear my prayer, O LORD, and let my cry come unto thee.
Psalms 106:44 Nevertheless he regarded their affliction, when he heard their cry:
Psalms 107:19 Then they cry unto the LORD in their trouble, and he saveth them out of their distresses.
Psalms 107:28 Then they cry unto the LORD in their trouble, and he bringeth them out of their distresses.
Psalms 119:169 TAU. Let my cry come near before thee, O LORD: give me understanding according to thy word.
Psalms 141:1 (A Psalm of David.) LORD, I cry unto thee: make haste unto me; give ear unto my voice, when I cry unto thee.
Psalms 142:6 Attend unto my cry; for I am brought very low: deliver me from my persecutors; for they are stronger than I.
Psalms 145:19 He will fulfil the desire of them that fear him: he also will hear their cry, and will save them.
Luke Chapter 18 “1 And he [Jesus] spake a parable unto them to this end, that men ought always to pray, and not to faint; 2 Saying, There was in a city a judge, which feared not God, neither regarded man: 3 And there was a widow in that city; and she came unto him, saying, Avenge me of mine adversary. 4 And he would not for a while: but afterward he said within himself, Though I fear not God, nor regard man; 5 Yet because this widow troubleth me, I will avenge her, lest by her continual coming she weary me. 6 And the Lord said, Hear what the unjust judge saith.7 And shall not God avenge his own elect, which cry day and night unto him, though he bear long with them?”