Given the description I assume you worked at Amazon. I worked there too, and I quit for Google.
They are VERY different companies. Google's tooling is unparalleled and maintained by staffed teams, its work force is motivated. It's hard to move the needle - in a large company full of smart people all the easy stuff was done ten years ago, and compliance concerns are everywhere. But none of that is due to lack of tools or motivation.
Google is an engineering company. Amazon is a store that hires engineers because it has no other option.
You seem to be at exactly the point where I was when I left. Yes, the grass is greener on the other side. Do it.