Beyond egoistic interests there is no goodness. If one decides to do some good thing, of course according to his ideal of goodness, it must be connected to his Ego consciously or unconsciously. One of noble motives that triggers to do goodness is empathy, putting yourself on other man's place and realizing what you would feel if you were him/her. Even in that conditions egoistic interests exist. Here is an excellent story from Diogenes, one of the famous ancient philosopher. One day Diogen was asked: "Why do people give money to an old or disabled person rather than to a philosopher or a wise man who is poor." Diogen's answer was amazing: "Because that people know that they are going to be old one day or they can be a disabled person in any time, but they know that they can never be a philosopher or a wise man.