People that never apologize is a huge red flag.
edit: To expand on this
Yes, being on the other end of the scale is not good - being a pushover that comes off too insecure, can come with its own set of problems. Perception is a bitch, and unfortunately something you'll get evaluated/judged on in your career.
I've seen that especially in tech, there are lots of very opinionated workers, that take things like knowledge very personal. It's okay to not engage in discussions you're not 100% sure/confident on, or just tell someone that you'll get back to them when you know.
Just know that some people know they're wrong, but will still try to steamroll you. It's just one of many suppression techniques.