Or for example, a Pokemon of level 10 can be equal to a Pokemon level 80? The level matter in contests?
The level of a Pokemon does not directly affect their performance in a contest. But of course, Pokemon might perform better with moves that are only accessible via level up.
Hope I helped. :)