When faced with injustice David and Jesus both entrusted themselves to him who judges justly. They asked God for deliverance, they declared their innocence, they called on God to judge, they were confident of his justice, and they praise God for his righteousness.