Solomon, having warned us not to do evil, here teaches us how to do well. It is not enough for us to shun the occasions of sin, but we must study the methods of duty.