David gives a reason in Psalm 5:
Because of your unfailing love, I can enter your house; I will worship at your Temple with deepest awe. Lead me in the right path, O LORD, or my enemies will conquer me. Make your way plain for me to follow.
But let all who take refuge in you rejoice; let them sing joyful praises forever. Spread your protection over them, that all who love your name may be filled with joy. For you bless the godly, O LORD; you surround them with your shield of love.
Psalm 5:7-8, 11-12 NLT