I burnt out after 4 years at my first job. It was at a startup.
I have been working 5+ years at my current job at a much larger company and burnout is unlikely. I get paid better and have less responsibility.
I'm undecided if the burnout was caused by the job or my inexperience. It was probably both.