How does God use consequences to teach?