"Finally brethren, whatsoever things are true, whatsoever things are just, whatsoever things are pure, whatsoever things are lovely, whatsoever things are of good report; if there be any virtue, and if there be any praise, think on these things." (Philippians 4:8)
So there are six things with which to fill your mind. Six categories of "acceptable", if that makes sense. For the sake of equanimity, I'm going to lump "virtue" and "praise" in with them for an even eight. The reason why we need eight is to mirror the "Big 8" food allergies. They are as follows: milk, eggs, peanuts, tree nuts, fish, shellfish, soy, wheat. I'm grateful that I don't have an issue with any of these. With the exception of soy, I should say. While I'm well aware that soy is in most everything processed these days, I cannot drink soymilk straight up. In spite of loving the taste, I do get something I would identify as an allergic reaction. And I don't mean to make light of the seriousness related to food allergies as I know (and love) people who can't touch the stuff.
"Wherefore come out from among them, and be ye separate, saith the Lord, and touch not the unclean thing; and I will receive you, And will be a Father unto you, and ye shall be my sons and daughters, saith the Lord Almighty." (2 Corinthians 6:17-18)
Paul's referring here to a requisite in the Old Testament. Thing is, there are still things to which this rule applies. Things, as inversely cited in the top passage, that we dare not ingest as they would not sit well and may well end in a spiritually allergic reaction. Things like hate and condemnation. The temptation to look the other way and therefore invalidate an individual. That fleeting glance at another person you think would satisfy a spiritually-existential need by way of lust. The rush to hurry the person in front of you and unsettle them. These things will the Holy Spirit tag and prevent you from taking in. But it takes time and discipline and the active acquisition of good stuff. Fill your mind and your pantry with that which isn't gonna kill you.
"But every man is tempted, when he is drawn away of his own lust, and enticed. then when lust hath conceived, it bringeth forth sin: and sin, when it is finished, bringeth forth death. Do not err, my beloved brethren." (James 1:14:16)
It's worth the time it takes to dial down the noise in your head to know if that which you think will turn out as salubrious, actually will--and not just appear so on the surface. If only our thoughts had those disclaimers that appear on the packaging identifying the facility from which the food of which you're about to partake, came. And the equipment on which it was processed. The Holy Spirit is here to help!