The Lord uses people to bring salvation. In this case it was David.