First deserve and then desire. meaning

HOME PROVERBS

deserve

First deserve and then desire.

means that:
You must prove yourself worthy of somethng, by working for it, and then you will we be able to want it and gain it.