Psalm 61:1-8 David enters with an agreement with God because he knows he could trust The Lord with protection. It seems like a bilateral agreement or a double win for David because he would do good to people and will see his faithfulness and provide protection towards him.