In Buddhism, they think that they are a set and are inseparable. When it comes to how long a set is, the result of an act is called karma (karma), and an act is also called karma.
Actions always have consequences, so the result is that good deeds = merit, and bad deeds = unscrupulous acts.
Normal acts of good and evil and their consequences are called acts “punya” to obtain merit, and as a result, merit punya, etc.
Apart from merit, the Buddhist word that is perfect for the Japanese nuance of “virtue” may be guna. It means characteristic, nature. It's like personality, and I mainly use it for good, but it's not necessarily good either.
Speaking of good karma and bad karma, the result of each act is also karma, but it also seems that mainly what has been piled up by them is called karma. One by one, Punnya's merits gathered and became a person with a high level of virtue. I feel that “high virtue” in that case is the result of accumulation of good deeds.
Courage, confidence, honor, and warmth are all not necessarily cases of good, so be careful. “Accumulating virtue” should only mean good things, whether it's merit punya or virtue. Good things should not hurt anyone, no matter how much they pile up. Something as annoying as brute bravery may seem good at first glance, but it can also be said that it includes evil by virtue of anger and lack of people.
Everything has consequences, so I think it's good to determine whether it's good or bad, avoid it at all costs, and if it's good, do as much as possible. If you only work hard for good, then virtue will also accumulate.