Contradiction with Proverbs 28:26
This verse suggests relying on one's own heart, while 2 Samuel 22:4 promotes trusting in God for salvation.
Proverbs 28:26: He that trusteth in his own heart is a fool: but whoso walketh wisely, he shall be delivered.
Contradiction with Isaiah 31:1
This verse warns against seeking help from others instead of God, contrasting with 2 Samuel 22:4, which emphasizes calling upon the Lord.
Isaiah 31:1: Woe to them that go down to Egypt for help; and stay on horses, and trust in chariots, because [they are] many; and in horsemen, because they are very strong; but they look not unto the Holy One of Israel, neither seek the LORD!
Contradiction with Jeremiah 17:5
This verse curses those who trust in humans rather than God, whereas 2 Samuel 22:4 encourages calling upon the Lord who is worthy to be praised.
Jeremiah 17:5: Thus saith the LORD; Cursed [be] the man that trusteth in man, and maketh flesh his arm, and whose heart departeth from the LORD.
Contradiction with Psalm 44:6
This verse admits not trusting in personal abilities (like a bow), which complements 2 Samuel 22:4; hence it isn't a contradiction.
Psalm 44:6: For I will not trust in my bow, neither shall my sword save me.