This second beast fooled the people living on earth by using the miracles that he had been given the power to do for the first beast. He ordered people to make an idol to honor the first beast, the one that was wounded by the sword but did not die.
Just as Jannes and Jambres fought against Moses, these people fight against the truth. Their thinking has been confused. The faith they have and teach is worthless.
The magicians used their magic and tried to do the same thing. But the magicians could not make lice come from the dust. The lice remained on the animals and the people.