Cruz is right on one thing, the GOP had no plan or agenda to run on. They just tried to gin up hatred and resentment against the democrats and make people feel like their was a malaise thanks to crime and inflation. It didn't work because they had zero to offer people outside of banning trans athletes and books.
Cruz, through is ranting and name calling, is right that you have to stand for something and deliver for people. With no agenda people won't take you as seriously.