This sentence is only a beautiful vision at best.
Everyone is selfish.
Sometimes doing good deeds is to satisfy one's conscience.
Do good deeds unless it is not for yourself or to satisfy yourself.
Now doing good is becoming a good person.
Have you ever thought that doing "good deeds" to help others is what a person should do, not what he should do extra?