He might be OK one day, and Cruz has some soul searching to do after this, because if he has a working relationship problem, then he needs to work to fix that part of it and run again. In fact all shouldn't give up totally, and instead see it as a learning experience for the future.
Yeah, I like Cruz more than Trump, but he does have a problem with his arrogance. When a person has no problem with losing his friendships and allies to the point that no one will endorse you for higher office among those you work with, that has to tell you something. I suspect Cruz is cognizant of this, and the fact that Sessions endorsed Trump I think really hurt Cruz.
He has to work on building friends, alliances and relationships in the Senate.