The notion that doing good produces a reciprocal good effect later on is bunk. There is no quid pro quo. The chances for experiencing good and bad are equal, and unavoidable.
However, what you expect is mostly what you get. A nice gesture here helps you find a nice gesture there.
A positive life depends on a positive attitude. Just like a magnet, like attracts like.