It isn't a sentence as it has no subject and no finite verb. To endure is an infinitive and of course a verb as well. Some grammarians call to a particle, some call it an infinitive marker.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.