Affiliate websites doesn’t rank anymore, true or false?

In the past days I started a thread here about starting an affiliate website…
And well, a guy told me by PM that affiliate website doesn't rank anymore from December 2017 because google hate affiliate websites… is it true?