Credit score

I paid off my mortgage and my credit score took a hit!  How's that for bass ackwards credit mentality?  Dave Ramsey was right!  The more debt I pay off, the lower my score.  smh.