Saul and his men went to seek him. They told David: why he came down to the rock, and abode in the wilderness of Maon. When Saul heard [that], he pursued after David in the wilderness of Maon.
What did David do while he trusted God? He did not become anxious and just wait. He sought God in prayer (1 Samuel 23:2; 1 Samuel 23:4; 1 Samuel 23:11-12; cf. Psalms 54; Philippians 4:6), and he proceeded to serve God (1 Samuel 23:2; 1 Samuel 23:5; cf. Matthew 28:19-20).