It is a grammatical sentence. Without more context it is hard to tell whether it is a natural way of expressing what you want to say.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
watermelon2"The program must have quality."It would be clearer if you used 'The program must be of good quality'.