David painted God as a warrior going to battle against the wicked who refuse to repent. God always gives people opportunity to judge their own sinful behavior and turn from it, but if they refuse to judge themselves, He will judge them (cf. 1 Corinthians 11:31). [source][source][source]