Jesus Christ approved fasting which was done for the right reasons. Christians fast to humble themselves before God. It is a spiritual discipline. By fasting Christians seek to receive more guidance and power from the Holy Spirit. Christians do not fast in order to be forgiven and gain salvation—so that they can be pardoned on the day of judgement.
The prophet Isaiah said that the fasting that pleases God is humility and acts of kindness. Without humility and loving actions, fasting is just an empty pretence.