下衆の後知恵(げすのあとぢえ)

Japanese vocabulary

Meaning: hindsight is 20-20 (even for a fool); an afterwit is everybody's wit

See it used in real works