I've learned that the universe doesn't care what our motives are, only our actions. So we should do things that will bring about good, even if there is an element of selfishness involved. Like the kids at my school might join the Key Club or Future Buisness Leaders of America, because it's a social thing and looks good on their record, not because they really want to volunteer at the nursing home. But the people at the nursing home still benefit from it, so it's better that the kids do it than not do it. And if they never did it, then they wouldn't find out that they actually liked it.
Wendy Mass (2011). “13 Gifts”, p.338, Scholastic Inc.