Counting World Cup titles doesn't really tell you who the best World Cup nation is. To try to balance nations with very different populations, we'll have to break out the math.
Articles and sites mentioned:
https://bleacherreport.com/articles/1...
https://www.rankingper.com/
https://www.washingtonpost.com/news/f...
Some data from:
Geiger, Tobias; Frieler, Katja (2018): Continuous national Gross Domestic Product (GDP) time series for 195 countries: past observations (1850-2005) harmonized with future projections according the Shared Socio-economic Pathways (2006-2100). V. 2.0. GFZ Data Services. http://doi.org/10.5880/pik.2018.010
World Bank