Psalm 4:4 Arrogance VS Definition, ‘Armed with righteousness’

“וּדְעוּ כִּי הִפְלָה יְהֹוָה חָסִיד לוֹ יְהֹוָה יִשְׁמַע בְּקָרְאִי אֵלָיו”

“You shall know that the Lord has set apart the pious man for Himself; the Lord shall hear when I call out to Him.”

Question: Was King David arrogance? Calling himself ‘pious’?

Answer: It is not just a title: ‘I am a pious person’. David knows HaShem will help him because his righteousness and being ‘pious’ – more than that, being aware of this fact, David even goes to battles that no other general will dare to participate in.

Explanation – Arrogance V.S Definition:

A proper definition of himself as a pious, allows King David go and win wars no other kings will be willing to endanger themselves with.
If it was a case of egotism and false pride, one would prevent himself of doing dangerous action. It is always a matter of self benefit. As opposed to a decent definition, that arms King David with confidence to go into battle, certain of the Lords aid.