Is “Invited Liu Bei into Shu to resist Zhang Lu, leading to the loss of Shu” true?

attested in history

According to Records of the Three Kingdoms, Book of Shu, Biography of Liu Zhang, Liu Zhang ignored the objections of Wang Lei and Zhang Song, invited Liu Bei into Shu, which triggered internal defections and ultimately led to his surrender.

Liu Zhang

In official history, he was the governor of Yizhou, known for his mild temperament and policy of preserving the region and pacifying the people.

Other claims about Liu Zhang