adverb

virtuously

vir·tu·ous·ly, VUR-choo-uhs-lee, from Latin

In a way that shows a commitment to doing what is morally right.

“She acted virtuously by admitting her mistake and making amends.”

In the picture: Returning the wallet with its contents untouched shows a choice to do what is right.

Similar and opposite

Similar: honorably, righteously

Opposite: dishonorably

Where it comes from

Formed in English from virtuous and -ly, ultimately from Latin virtus, meaning moral excellence or courage.