2 Timothy 3:8-9
3:8 And just as Jannes and Jambres opposed Moses, so these people – who have warped minds and are disqualified in the faith – also oppose the truth.
3:9 But they will not go much further, for their foolishness will be obvious to everyone, just like it was with Jannes and Jambres.