What is the meaning of the proverb When an elephant is in trouble even a frog will kick him?

It doesn't matter how big, rich or powerful you are. When you get into a compromised position the very least will be inclined to take advantage of you in your compromised position.