Is it okay treat the number of upvotes as correctness?
Sometimes, there isn't a single correct answer to a question, so upvotes may simply indicate the number of people that liked or agreed with with the contents of the answer.
We also have the case of a user with a lot of reputation (I cannot directly say who, but some people will know who I am talking about), but their answers are unconventional (e.g. provocative, long, contain unnecessary details, etc.) and sometimes are wrong. I'm not fully sure why this user gained so much reputation, but I believe that many inexperienced users upvoted their answers (and this user was also involved in some voting irregularities with multiple sock puppet accounts).
So, upvotes do not necessarily mean that the answer is generally correct because
- there may be not a single correct answer to the question
- upvotes may have been given by inexperienced users (who blindly upvoted the answer by thinking it's useful, but without knowing whether the information is really correct or not)
So, when reading an answer, you should take into account the upvotes, given that they represent the consensus, but maybe you should also consult another source of information that confirms the contents of the answer.
I've been encouraging people not only to upvote but also to downvote content that is not good enough. The higher the number of upvotes, the higher the consensus, but, especially in our community, the number of upvotes can sometimes be misleading, given that we do not have a big number of experts, so many votes are cast by inexperienced users. You can see the voters here. You should also not blindly trust a user only because he has a high reputation. Of course, users with high reputation are more likely to be "correct", but, especially when you're not familiar with the topic, as I said, you should consult another source of information, ask for more details, ask for references, etc.