It's good to practice when you want to win something.
David has a race coming up in a few weeks that he wants to win.
He wants to prepare for the race.
David trains hard every day for several weeks before the rade.
David only trains one day before the race.
David is well prepared from the training and wins the race.
David is not in shape for the race and performs very poorly.