Wotan was brought down by making shady deals with shady characters and not expecting to keep his end of the bargain.
Well, yes. And the shady deal was trading his sister-in-law for the building of Valhalla by the giants.