David slew Goliath and God granted David the kingdom and wisdom and also taught him whatever He wanted . Had God not made one group of people repel the other , the earth would have become full of corruption , but God is generous to His creatures .