Samuel Pepys died in 1703, six years before Samuel Johnson was born, and even longer before there was such a thing as the Methodist Church. It’s possible that James Boswell quotes Samuel Johnson on the Methodists (who were a movement within the Church of England before they became a separate denomination). Samuel Johnson had strong opinions on a lot of subjects.
John Wesley would be horrified by what the Methodist Church in the United States is doing.