What is the meaning of [one nail drives out another]

One thing replaces another, or new ideas or customs cause old ones to fall into disuse