This means to get money because of work you do. When you work, you earn money as a reward. It is the most common meaning of earn.
I earn money by working hard.
She earns money from her job.
This use of earn means to get respect, trust, or other good things because of what you do or how you act. It is not about money here.
He earns respect from his friends.
You earn trust by being honest.
Here, earn means to cause or get a certain reaction, result, or effect from people. It often means to win or cause something good for yourself.
His work earns him praise from the boss.
The idea earns a lot of attention.
This meaning is about getting points, prizes, or marks by playing, competing, or testing. It means to gain rewards based on performance.
She earned ten points in the game.
You can earn badges by playing well.
This meaning is used in military or formal contexts where people gain honors, medals, or good reputation through service or actions.
The soldiers earned medals for bravery.
They earned a reputation in the war.
This means to gather or build up rewards, points, or benefits by doing actions many times or for a period.
You earn points for every purchase made.
Members earn rewards after many visits.