Okay, let's break it down:
Messi:
vs Brazil: played 9, 4 goals (all in friendlies, 0 in competitive matches)
vs Chile: played 7, 3 goals
vs Colombia: played 8, 3 goals
vs Uruguay: played 8, 3 goals
vs England: (never played)
vs France: played 1, 1 goal (in a friendly)
vs Germany: played 4, 1 goal (in a friendly)
vs Italy: (never played)
vs Spain: played 3, 2 goals (both in friendlies)
---
vs Sweden: played 1, 0 goal
vs Netherlands: played 2, 0 goal
vs Belgium: played 1, 0 goal
vs Portual: played 2, 1 goal (in a friendly)
Ronaldo:
vs Brazil: played 3, 0 goal
vs Chile: played 1, 0 goal
vs Colombia: (never played)
vs Uruguay: (never played)
vs England: played 3, 0 goal
vs France: played 4, 0 goal
vs Germany: played 4, 0 goal
vs Italy: played 2, 0 goal
vs Spain: played 3, 0 goal
---
vs Sweden: played 6, 5 goals (1 friendly)
vs Netherlands: played 4, 4 goals (1 friendly)
vs Belgium: played 2, 3 goals (1 friendly)
vs Argentina: played 2, 1 goal (in a friendly)
Clearly your inclusion of Chile, Colombia and Uruguay was just a very poor attempt at manipulating the data, Ronaldo has played a grand total of ONE game against them whilst Messi has played
23 times.
I could do a similar list with Sweden, Netherlands and Belgium included.