Faillir + Infinitive

To express the idea that you almost or nearly did something (but didn’t), you can use the French verb faillir + infinitive along with avoir.