Given his politics, it’s completely logical (though barbaric) that Trump pull out of UNESCO.
Education, and culture are anathema to rapacious capitalist governments like that of the US.
Science is revered there in the US mainly for its help in the production of war machines, but UNESCO is of no help to the US in that regard.
Dumbing down the population is very important to Trump and company, so overall, UNESCO is a drag on their politics.
Education, peaceful science and culture do indeed point the world toward “socialistic one world government", and when we have attained that we will have a world in which it is a pleasure to live.