Here's why:
* Preposition: "for"
* Object of the preposition: The noun or pronoun that follows the preposition and receives its action. In this case, it's "himself".
The sentence is actually missing a preposition, but we can assume it's "for" to make sense: "Wilmer bought himself a new pair of shoes for himself."