Luck has always played a role in racing. Sometimes the rain falls just after you set pole position. Sometimes your main rival has a technical problem at a track where you knew they would beat you. Sometimes the rider ahead makes the smallest mistake and opens up the perfect gap for you to aim through. Things happen over which you have no control, and you have to hope the dice will roll in your favor.
Perhaps you can load the dice a little, sometimes. Bear in mind the saying attributed to golfing legend Gary Player: "the more I practice, the luckier I get." Luck can be made, on occasion, opportunity recognized and seized. If you tackle the conditions you find, rather than the conditions you wish you had, you at least have a chance.
Conditions at Barcelona put everyone on the back foot. Temperatures rose from relatively cool to typically scorching, after a week of heavy rain. That rain brought down the dust and sand blown north from the Sahara by the Sirocco winds, leaving the track dirty and green. No grip and constantly changing conditions made consistency an illusion. Finding the right race tire was more guesswork than science, Sunday morning warm up being critical. The Barcelona race looked to be a lottery.