I know this isn’t really your question, but I wanted to address this part:
The “work” is not the same as the
result. If your intention was to help your friend grow in their spiritual life because it would benefit them, that is an act of love. Whether or not your friend chooses to take your advice does not necessarily mean it was not a good work, or that it was not beneficial in another way that you may not see.
-----PUSH (Pray Until Something Happens): A Story of Obedience-----
A man lived on a mountain, and prayed daily. One day, God spoke to him and told him to push against a very large boulder each day. The man did so faithfully for many weeks, and soon, the devil began to fill his mind with doubts. “Why are you trying so hard? It’s not as though this rock matters to anyone.” “You aren’t strong enough to make a difference.” And, worst of all, “You haven’t accomplished anything with your effort–look, the rock hasn’t moved even a fraction of an inch!”
The man grew weary and discouraged. Finally, he prayed to God, “Why? Why do you want me to push against this rock? I haven’t moved it at all!”
God answered, "I did not ask you to move the boulder. I asked you to push against it every day. You think it made no difference, but look not at the rock. Look instead at
yourself. Look at the strength you have gained in your back and shoulders. Look at the muscles in your arms and legs. I asked you to push against the boulder not to change the boulder, but to strengthen
you."
-----The End-----
Sometimes, doing good is not about the results we get, but simply about loving, serving, and obeying God. What good we choose to do can change us and help us to grow in virtue, even if the results are not always what we expected or attempted to accomplish. It may not be about the finished product, but about the effort (and/or the journey). But we usually don’t know if that’s the case until after we’ve finished the task God asks of us. And sometimes even then, we don’t get to know what effect a particular action may have on others (during our life on Earth, at least).
Continue to do good, to love and serve God not because you want to change someone else, but because it is the right and loving thing to do.
Remember, too, that praying for others is a good work, and costs nothing but time.