Why are so many villains poorly written

There are so many movies where the villains are just genuine dogshit. And I mean in terms of their characterization, their growth/change, and their motivations.

I get that the movie is trying to hype up the hero because of hype culture and hero worship and all that but the movie can still have all that and also have a well written villain.

Idk why but 95% of villains in telugu movies are either just murderers who murder for no reason, or greedy/power hungry politicians. And that’s it.

I feel like the closest we got to a well written villain was the dude from spyder. But he was just a joker rip off, with his own “we live in a society” monologue. But by the end of the movie he was also just killing people for no reason

Also one last thing: why do movies portray the villains as so weak. Isn’t it better if the villain is weaker and the hero beats him. Thats just a basic rule of story telling. There is so suspense/stakes if you know the hero will automatically win