The phrase
"glory hunters" refers to people who only support or follow something successful or popular. They are not truly invested or loyal, but rather interested in being associated with the glory or success of a person, team, or cause.
Full definition