Source? Because that is not what the source you linked before says. And also highly unlikely because the global number of refugees according to the same source was 36.4 million at mid-2023.
According to the source, yes, there are currently 36 million refugees globally. Around 10% of those are in the EU. That’s 3.6 million.
According to the link above, 6.98 million people immigrated to the EU in 2022. In the same year, around 1 million new asylum claims were filed.