>>96910782
Does every thread on this board need to require the words "in my ttrpg"?
>>96910674 (OP)
Anyway, this is a difficult thing if you're stupid. I mean that genuinely, it will be hard for you to write smart characters if you yourself aren't smart. But assuming you're the GM, which you should be, you probably already have a rough idea for a story outline written. If this is the case then congrats! Your villain should now know more about the steps they need to take than the players do. The problem is making this seem fair to the players. You can't just have your evil Black Knight go do the plot without your players, but you can have him subvert their expectations from time to time.
While I'm begrudging the retard who is immediately directing you to /lit/ because he cries about half the threads on here, he is partially right, read a few books to gauge characters or their methods that can be similar to what you want from your villain. Have your villain be smart, have them slight the players in tricksy ways, have one dungeon where they found out the important artefact has already been taken (but assuage the players by ensuring they still earned loot of some sort).
I'm not sure how to fully help you, because I don't know your game system or story, but I'll believe in the best for you & guess you can glean some ideas from this already.