Both mean different things.
To give is out of kindness. To earn is out of deserving.
Everyone should be deserving of kindess, but that is not how things are in this world.
Giving and Earning understand the value in each other.
I built everything I have out of what I was given.
Now I will build everything I will have out of what I will earn.
It's called giving back.
And I believe it's the only way to make ends meet.