Rudyard Kipling was not an enlightened thinker or poet. For instance, he wrote this https://en.wikipedia.org/wiki/The_White_Man%27s_Burden
For example, Kipling wanted to end sati (widows burning to death) because it was against his “white man’s” values, today we would be just as against it snd do whatever we could to stop it (probably mostly with soft power) in the name of women’s rights.
Either way, the reduction of someone who lived a full and rich life, an enormously popular and Nobel Prize winning writer to “well, actually he was problematic” is not healthy.
Whether he’s a poet or not is simply a matter of semantics, and also not relevant to the poem “If”. There’s also this quote in the link you provided:
> there appeared in one of our magazines a poem by Rudyard Kipling, the greatest poet of England at this time