Glenn Beck, the fiery conservative media personality and former Fox News host, says that he briefly considered voting for Hillary Clinton and called opposing Donald J. Trump the “moral, ethical choice” — even if doing so leads to Mrs. Clinton winning the presidential election.

His comments were made after the release on Friday of a 2005 recording of Mr. Trump boasting about sexual assault that set off a war between the presidential nominee and a broad swath of the Republican establishment, including Paul D. Ryan, the House speaker.

Reacting to the recording, Mr. Beck wrote over the weekend that each person “must decide what is a bridge too far” and said he supported calls for Mr. Trump to withdraw from the presidential race.

“It is not acceptable to ask a moral, dignified man to cast his vote to help elect an immoral man who is absent decency or dignity,” Mr. Beck wrote on Facebook. “If the consequence of standing against Trump and for principles is indeed the election of Hillary Clinton, so be it. At least it is a moral, ethical choice.”