What does the idiom EAT DIRT mean?

To eat dirt simply means to endure or accept insults or bad treatment.