Get 404 for url specified in module.routing.yml
I believe you did not install the module 

if you tried to install you would get 

drush en final



  ParseError: syntax error, unexpected 'final' (T_FINAL), expecting identifier (T_STRING) in /home/giorgos/share/gwebsites/dru8.dev/web/modules/custom/final/src/Controller/ExampleController.php on line 2 #0 /home/giorgos/share/gwebsites/dru8.dev/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/home/giorgos/s...')
   #1 [internal function]: Composer\Autoload\ClassLoader->loadClass('Drupal\final\Co...')
  ...


final is reserved keyword thus it confuses the php parser when it sees

namespace Drupal\final\Controller;


Can also be caught with my vscode setup and linter 

 

You have to change final to something else but then you have to rename it elsewhere in your module (folder name, file names, reference to the class etc)

Otherwise the module is working fine.