This meaning means trying to be better than other people in a game or contest. People want to win or do best. You can compete in sports or other events.
I compete in a school running race.
We compete to win the game today.
Here, compete means to try to get something important by being better than others. This can happen in work, school, or contests where people want the same thing.
Many people compete for a good job.
They compete to get the first prize.
In business, when companies want to sell more or make more customers, they compete. They try to be better or cheaper than others to get more buyers.
Two shops compete to sell more shoes.
Brands compete by lowering prices.
This meaning is more general. It means trying hard to succeed or keep going even if things are difficult or there are challenges.
She competes with problems every day.
They compete against hard times.
Here, compete means to be as good as something or someone else. It shows equal power, skill, or quality in comparison with others.
These shoes cannot compete with brand ones.
Our team's skills compete with the best.