I think this variant is possible:
научиться можно только на ошибках...