the third time is the charm

idiom

Definition of the third time is the charm

US
—used to say that two efforts at something have already failed but perhaps the third will be successful