Food is not a good source of entertainment or a good escape from your problems or a good thing to fill up time—it is not a good thing to use to escape the fear of being bored, nor a good friend to take the place of relationships...
God uses this behavior modification to get us to choose right living. But we are such babies and easily discouraged with discipline instead of correctly interpreting His punishment as love...