why David credits God for victory