in his wisdom

in his/her/their (infinite) wisdom

  (humorous)
something that you say when you do not understand why someone has done something and think that it was a stupid action The council, in their wisdom, decided to close the library and now the building stands empty.
See also: wisdom