You can't always come up with the optimal solution, but you can usually come up with a better solution.
Real love is not based on attachment, but on altruism. In this case, your compassion will remain as a humane response to suffering as long as beings continue to suffer.