End the evil of those who are wicked,
and defend the righteous.
For you look deep within the mind and heart,
O righteous God. (Ps. 7:9 NLT)
OT – David does not rejoice at the news of Saul’s death. With Saul gone, David can now return to his home tribe of Judah, where he is anointed king. This causes war to break out between David and Saul’s son Ish-Bosheth. Saul’s commander, Abner, and David’s commander, Joab, have some personal rivalries. When Ish-Bosheth is killed, David is made king over all of Israel.
Psalm 7 was written about David’s struggles with someone otherwise unknown who was from the tribe of Benjamin. Since David is at war with Saul’s family line, which is also from Benjamin, it is included here.
NT – Matthew begins his gospel with a genealogy of Jesus. As he tells about Mary’s pregnancy, the visit of the wise men, Jesus’s family’s escape to Egypt, and their return, Matthew is careful to point out how all of these things fulfill OT prophesy.