Jeffrey Epstein was confident he could fight the child sex trafficking charges against him and was in “great spirits” just hours before his jailhouse death on Saturday morning — even telling one of his lawyers, “I’ll see you Sunday,” The Post has learned.

The convicted pedophile also told his lawyers that the neck injuries he suffered in an earlier incident at the Metropolitan Correctional Center were inflicted by his hulking, ex-cop cellmate, which led the lawyers to request that he be taken off a suicide watch, according to a source familiar with Epstein’s case…

“He was delusional,” the source said.

“He thought he was going to get the same deal he got in Florida.”