“Though I speak with the tongues of men and of angels, and have not charity, I am become as sounding brass, or a tinkling cymbal.” I Corinthians 13:1 
Doing nice things with the wrong intentions is a distraction to yourself and to those around you. It takes the focus off of Jesus and places it on your works. 
Ask yourself: Am I doing this to make myself feel better, to check off a list, or to please other people? Pray about your answer and your intentions because they matter. Only what is done for Christ, in love, will last. He wants to give you lasting purpose and is willing to provide righteousness for anyone that seeks after him. 
Scripture taken from: Matthew 5:6