"A very valuable lesson to have learned."