Adversity is one of the best teachers there is.

We often learn more from failure than we do from success.

The Gridley High School boys basketball team provided us all with one more example of that this past week.

All season long, a team goal has been to win the CIF Northern Section Division 4championship.

That didn’t happen, as the No. 1 Bulldogs fell to No. 2 Corning in the section championship game last Friday night at Butte College.

Gridley picked a horrible time to play its worst game of the 2017-18 season, falling to the Cardinals, 56-36.

It was a real stinker. Nothing the Bulldogs did seemed to work. Shots didn’t fall; calls didn’t go their way.

It happens like that sometimes.

In past years, that devastating loss would have been even more devastating, because it would have ended the Bulldogs’ season.

But thanks to the powers that be at the California Interscholastic Federation, the Bulldogs lived to fight another day.

The CIF revamped the playoff format this season, and now the top four finishers in the section move on to the redesigned state tournament.

There are six divisions and an open division which features the top eight teams from each half of the Golden State.

The NorCal bracket of the open division includes three teams that were just here in December for the GIBT: champion Salesian; Folsom; and Capital Christian.

The CIF’s welcome effort to shake things up in California high school basketball created an interesting dynamic for the Bulldogs: They had the weekend to shake off the loss and get ready for the state tournament.

The CIF selection committee was most kind to Gridley, awarding the Bulldogs the No. 2 seed in Division V.

That gave the Bulldogs a home game, and it will keep giving them home games for as long as they remain alive in the tournament.

Corning, meanwhile, got the No. 13 seed in Division IV. The Cardinals bowed out quietly Wednesday night with an 86-63 loss to No. 4 Placer.

One and done.

The Bulldogs, meanwhile, shook off the agony of defeat they felt last Friday night on the court at Butte College, taking a 68-54 win over No. 15 Brookside Christian.

Gridley will now move on to a Saturday night matchup against No. 10 Bradshaw Christian.

From here on out, it’s an elimination game every time the Bulldogs take the court.

The Bulldogs did a great job of making lemons out of lemonade Wednesday night.

We’ll see Saturday night at Farmer’s Hall how much more lemonade they can squeeze out of that bitter bushel of lemons they got last Friday night in Oroville.

Contact Gridley Herald sports/news reporter David Vantress at 846-3661, ext. 123 or by email at Follow him on Twitter at @dvantressGH.