Except...these are right. Minimizing nesting, and setting up validation failures as exit-early conditions from functions to have the main function body focused on the happy path are absolutely valid principles of clean code.
Obviously there are always exceptions, but as a principle you could do a lot worse.
Obviously there are always exceptions, but as a principle you could do a lot worse.