It's undeniable that publishing papers, especially in high impact journal, give empowering knowledge for the benefit of society. What you think about the other publications. Is it an achievement?
Actually publishing in a high IF journals catches the attention and makes your work more visible and cited. However, one can find very good and deep papers published in low ranked or even without IF journals, but rarely.