Ronald Reagan didn't compromise on his beliefs to win votes....
Reagan didn't win by spouting religious beliefs. He won because Carter was a horrible president, Reagan had huge name recognition, Reagan was an outsidethebox because of his hollywood stardom, and he was enormously likeable.
. . . and he won his second term overwhelmingly because he completely changed the face of the U.S. electorate by changing voter beliefs. He did not win by pandering to existing beliefs.