What’s the most egregious case of a terrible character being presented as a good person?
I feel like it’s quite common for protagonists of the heroes of the story not being as moral as the writers suggest them to be. The first example that springs to mind is the Revenge of the Nerds character that pretends to be the boyfriend of a girl he likes while the lights are off so she’ll have sex with him. He then gets the girl in the end like a conquering hero.