The intelligent person perceives forbidden things like delicious food, which contain fatal poison. Whenever its pleasure arouses his interest, the reality of the poison would push him away from it. Also, he perceives the orders of Allah as bitter medicine that leads to good health and recovery. Whenever its bitterness urges him not to take it, the reality of its usefulness leads him to comply.
Source: AL-FAWAID: A Collection of Wise Sayings