arrogantly
Arrogantly means with a sense of superiority. Someone who is arrogantly self-righteous is not humble enough to accept other people's opinions.
He acted arrogantly, thinking that he was better than everyone else.
She acted arrogantly, thinking that she was better than everyone else even though she didn't have any facts to back up her claims.