I feel for you... the heat will DEFINITELY sap your energy right out of you... I always suffer in the heat. I can do the same ride with totally different outcomes depending on the temps... if it's hot, I'm slow(er) and have legs of lead. If it's cool, I'm cheerful and ride great.
I completely understand how frustrated you must have felt. You work so hard to go do something and then it just doesn't pan out...
I hope the next ride reaffirms your ride skills and your belief in yourself too... hugs...
There is a fine line between "hobby" and "mental illness".