Giving a sacrifice to God is a good way to show that your repentance is more than words. However, it cannot be a substitute for changing your attitude and your behavior - which is harder.