Yes, it's most certainly correct. pattern VERB+OBJECT+TO BE The to-infinitive, in this case after the verb 'to believe', expresses belief or opinion in a formal way. And, therefore, it is correct to use it in this manner.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.