If you gained 10 pounds from training and eating a different way, then you did learn something valuable from this experience...
How to train and diet properly!