The Short Version
The claim overstates the legal reality. Slavery is broadly prohibited under international law, but that is not the same as every country’s own law clearly making slavery illegal. Credible legal research shows many states still lack a specific slavery offense, and some legal systems retain exceptions such as penal slavery, so the absolute “every country” claim does not hold.