You can stay at Google or Facebook forever, it's just a matter of finding yourself on the right teams with the right work-life balance. If you chase the most exciting projects at any company, it's a recipe for burn out because you'll be working a lot more than you would be on a "necessary, stable, boring" project/system.