We are not to be concerned with how our good deeds are used by God. Often in life, when we intend for one action to touch a certain individual, it in fact affects someone else. Even when we have appeared to fail and wasted our time and effort, we may well have affected our self.
We do not always know who is affected by what we do, but we can believe this — things which we do are not lost. God will use our good deeds for a blessing as he chooses.