1 Chronicles 12:17-18

12:17 David went out to meet them and said, “If you come to me in peace and want to help me, then I will make an alliance with you. But if you come to betray me to my enemies when I have not harmed you, may the God of our ancestors take notice and judge!” 12:18 But a spirit empowered Amasai, the leader of the thirty warriors, and he said:

“We are yours, O David!

We support you, O son of Jesse!

May you greatly prosper!

May those who help you prosper!

Indeed your God helps you!”

So David accepted them and made them leaders of raiding bands.