I lost my business in advantage of a competitor.
I want to say that a competitor will benefit from losing my business.
We should not avoid teaching music in favour of other school subjects.
I want to say that we should not prefer teaching other school classes rather than music.
Am I using these phrases correctly? I look into dictionary and either did not find the word or the usage is slightly different.