Duplicate questions can be bad questions, but not always. Quoting MSE FAQ 'How should duplicate questions be handled?':
Should I downvote?
It depends. Duplicate questions are not necessarily bad; different
descriptions of the same problem help future visitors to find the
answers they're looking for. However, asking a duplicate question may
indicate a lack of adequate preparation prior to asking, which is
always grounds for downvoting.
The primary goal of closing questions as duplicates is to avoid fragmentation of answers. Judging questions on their quality comes second.
A question that appears to be a very obvious duplicate, can be considered a bad question because the asker appears to not have taken the effort to research their problem.
Other questions that appear to be duplicates should be judged as if they weren't: still vote to close them, but also up- or downvote (or don't vote at all) based on the question quality.
Questions can also gather a bunch of upvotes before it is noticed that it's a duplicate question. Two independent questions could both gather for example 30 upvotes in a year, without anyone knowing that they're duplicates of eachother.