Well if it’s done out of pure love for another, then of course it’s charity… It’s just not Prudent, or Justified -two other equally important virtues.
They are NOT “equally important.” This is the teaching of the Church:
Charity
1822 Charity is the theological virtue by which we love God above all things for his own sake, and our neighbor as ourselves for the love of God.
1823 Jesus makes charity the new commandment.96 By loving his own "to the end,"97 he makes manifest the Father’s love which he receives. By loving one another, the disciples imitate the love of Jesus which they themselves receive. Whence Jesus says: “As the Father has loved me, so have I loved you; abide in my love.” And again: "This is my commandment, that you love one another as I have loved you."98
1824 Fruit of the Spirit and fullness of the Law, charity keeps the commandments of God and his Christ: "Abide in my love. If you keep my commandments, you will abide in my love."99
1825 Christ died out of love for us, while we were still "enemies."100 The Lord asks us to love as he does, even our enemies, to make ourselves the neighbor of those farthest away, and to love children and the poor as Christ himself.101
The Apostle Paul has given an incomparable depiction of charity: "charity is patient and kind, charity is not jealous or boastful; it is not arrogant or rude. Charity does not insist on its own way; it is not irritable or resentful; it does not rejoice at wrong, but rejoices in the right. Charity bears all things, believes all things, hopes all things, endures all things."102
1826 “If I . . . have not charity,” says the Apostle, “I am nothing.” Whatever my privilege, service, or even virtue, "if I . . . have not charity, I gain nothing."103** Charity is superior to all the virtues. It is the first of the theological virtues: **"So faith, hope, charity abide, these three. But the greatest of these is charity."104