This is not true. Nokia sold over 450M phones per year in 2007-2010, but started to lose marketshare quickly, and from 2010 onwards the number of phones sold dropped fast. Then Nokia sold it’s phone business to Microsoft.
Now it is returning, but it’s not anymore core focus of the business and the numbers are small.