Psalm 57:1-11

Why does David choose to fix his eyes on God rather than his present circumstance? Why does he cry out to God at all? Why does he resolve to praise God in the midst of being hunted by Saul.