There is nothing wrong with the grammar or structure of the sentence EXCEPT that is the wrong idiom.
THE CORRECT IDIOM IS:
It's Better To Be Safe Than Sorry
✅ NO OUTSIDE FOOD IS ALLOWED.
TYPE OF ERROR
SUBJECT-VERB AGREEMENT
SINGULAR/PLURAL/UNCOUNTABLE NOUNS