“Where are you God?” can be the cry of the righteous brokenhearted and crushed in spirit. For the righteous also cry out and the Lord hears them. The Apostles experienced the same as David. They were pursued and sought after by people wanting them dead and gone, usually for personal gain.
King Herod arrested some who belonged to the church, intending to persecute them. He had James, the brother of John, put to death with the sword. When he saw that this pleased the Jews, he proceeded to seize Peter also. After arresting him, he put him in prison, handing him over to be guarded by four squads of four soldiers each. Herod intended to bring him out for public trial after the Passover. (Acts 12:1-4) The eyes of the LORD were on the apostles. James went to be with the Lord and Peter escaped.
Before this Stephen was stoned to death and a great persecution broke out against the church at Jerusalem. Jesus said that those who believed in him would be persecuted. And the apostles and disciples were just as David and the prophets before them.
The eyes of the Lord are on the righteous and his ears are attentive to their cry. The righteous cries out and the Lord hears them. The Lord is close to the brokenhearted and saves those crushed in spirit. When persecuted pray and rejoice for the way of the cross leads home.