1 Chronicles 5:20

ISV(i) 20 When they received assistance against them, the Hagrites and all of their allies were handed over to their control, because they cried out to God during the battle. He honored their entreaty, because they had placed their trust in him.