Because he knew ,as he said,the thorn in his side was a messenger of Satan.If this is how it works why does Paul constantly warn and exhort the Spirit dwelled believers he writes letters to?
Paul was not an example for teaching his faith let him overcome Sin.
Romans 7
“For I do not do the good I want, but the evil I do not want is what I keep on doing.”