There is a proverb in Arabic that literally means:
"the turtle quarreled with the lake"
It is used when "A" rejects a favor from "B" to hide his dependence on it, as a turtle's life depends on the lake.
For example, imagine a mom wants to give pocket money to her (~7 year old) son, but the son refuses to receive the money to show his independence by saying:
"I do not need your money anymore, I don't want anything from you."
Here mom might say:
"pfff.., the turtle quarreled with the lake"
Is there any proverb, phrase or idiom to convey this meaning in English?