Step-by-step explanation:
Just like Scout, Jem realizes that the world is not a fair place and society has a racial bias against people of color; he no longer views the world as a perfect place where everyone is content, but rather he notices that the world is flawed. This is because Jem was almost certain that Tom Robinson would win, so when he lost, he became confused and hurt.