David killed Goliath , and God gave him kingship and wisdom , and imparted to him the knowledge of whatever He willed . Had it not been for God 's repelling some people by means of others , the earth would have been filled with corruption .