You can disable system statistics by using
false as the second argument of ESPDash class constructor.
ESPDash dashboard(&server, false);
If you would like to completely disable and hide the statistics tab from the sidebar, please use the above example and make sure you don't have any custom statistics (pro). By doing so, it will automatically hide the "statistics" tab from sidebar.