I cannot agree with this statement. I've used Fram filters for decades without incident. I believe this myth was started by those for whom cost equals quality, for whom only expensive filters are good enough.
Yup, I've seen the videos of people tearing various filters apart and comparing their innards, but because their innards are different does not mean the filters aren't perfectly capable. I know from experience that others here, some that refuse to accept any opinion different from theirs, will attack these statements with a knowing air of superiority, but I disagree with them. Fram filters are fine.
However, if you prefer another brand, I believe you should use it. I also don't believe Fram filters are better than other name brands, only just as good for the purpose. The only filters I would recommend avoiding are those from fleamarkets, especially if they have no brand on them at all. There's a lot of junk out there, and IMHO any reputable filter manufacturer will be in the supply chains of major retailers.