Generation in Matthew Again

A fun  exercise with the previous post is to simply insert “whole Israelite race” in every place where Matthew says “generation.” You will find all sorts of absurdity when you do that and it proves my point exactly. What does it mean for Jesus to say in Matthew 12:41 that Nineveh will rise up against the Jewish race and condemn it? Clearly the whole Jewish race is not condemned. So what exactly does it mean?