>>43236112That's not true at all; at least for the most part.
There are Poké Balls that are capable of brainwashing, like the Shadow Ball, but on the whole, Poké Ball are just containment devices. The lore has changed slightly over time, but on the whole, it still follows a vague idea.
Since Pokemon appeared, people have been trying to capture them for their strength, as you'll notice many older and ancient devices that were able to store Pokemon. Now, the original creation of the modern Poké Ball is hazy, since you'll see ancient variations of it, but the modern Poké Ball is said to only be a hundred or so years old, and the species title of 'Pocket Monsters' has occasionally been mentioned to come from this.
The Poké Ball only captures a Pokemon, with different models having variable catch rates, but it's entirely up to the Pokemon what this means. Despite not knowing exactly what is in the ball it's been said it's a suitable environment for a Pokemon, which is what entices the Pokemon to stay. This does not mean the Pokemon is suddenly loyal, however. It's shown many times Pokemon completely disregarding their trainers wishes, even refusing to enter (or in some cases, leave) their Pokeballs. Earlier materials even showcased Pokemon willingly leaving trainers, despite still being 'captured', but in modern iterations, Pokemon are marked as a trainer's until their release or destruction of the Poké Ball.
The games hand-wave this, so there is an actual game, but even in-game, similar sentiments are mentioned - But, there is at least a tie to the concept with traded Pokemon not instinctively obeying you under certain conditions, despite being in your possession.
There are Poké Balls that are said to make your Pokemon more fond of you, but considering other descriptions, it may just be the habitat within that ball that spurs the Pokemon into appreciating it's circumstances.
Also, in-universe, the majority of Pokemon already want trainers so it works out.