It's correct, but starting a sentence with To be ( verb )... is uncommon.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
avid learnerTo be + verb as subjectGerund subjects are preferred over infinitive subjects. Infinitive subjects are grammatically correct, but they tend to sound as if the writer is trying to be poetic. Yours is a good example of something poetic, so the infinitive works well stylistically. Here's another: