I just checked and that is a spurious quotation from Thomas Jefferson. I’ve seen over the years many statements attributed to Thomas Jefferson that he never said, almost a cottage industry.
Entire explanation at link.
Thanks for looking that up. Why do people misquote Jefferson and other famous people? Annoying.