"Good" is a questionable descriptor here. I would think that a good accountant should follow ethical rules, which would exclude the possibility of knowingly breaking the law to under-report taxes.
a) Hey I have a cousin Vinny. Great account. Knows every single rule and is always ethical. I sleep great at night
b) Hey I have a cousin Jen. Great accountant. She found all kinds of crazy savings, saved me $1000 last year.
People know in their heart they should go for the honest guy. But hey, saving money.. who can pass that up?
Knowingly and intentionally not paying a tax by falsifying records probably does not sit well with the Internal Revenue Service.
IRS can and has disbarred CPAs based on ethics [1].
[1]: https://www.irs.gov/uac/Newsroom/Certified-Public-Accountant...
Your accountant was probably trying to save you money.