The number of confirmed cases is not really a great value to track, because countries test differently and change tactic after a while.
Look at this graph for instance, number of tests per million people vs number of confirmed cases per million people. They're highly correlated, which means the more you test the more confirmed cases you'll have. In some countries it's the opposite, the more cases you'll have seeking medical assistance, the more tests you do.
https://ourworldindata.org/grapher/tests-vs-confirmed-cases-...