Amidst a temporary military defeat, David turns to the only deliverer: God