It's true.
3 seconds sound clip from the A Bug's Life movie soundboard.
You can hear this line at 01:18:25 in the Blu-ray version of the movie.
Quote context
[...]
- Just get behind me, girls. It'll be okay.
- The bird was my idea. I'm the one you want.
- Where do you get the gall to do this to me?
- You were... You were gonna squish the queen.
- I hate it when someone gives away the ending.
- You piece of dirt! No, I'm wrong. You're lower than dirt. You're an ant!
- Let this be a lesson to all you ants. Ideas are very dangerous things.
- You are mindless, soil-shoving losers, put on this earth to serve us!
[...]