Answer:
Ulysses and Mohammed are punished for the sin of pride. Dante singled out these two figures for special attention in his poem because they both embodied the sin of pride, which Dante believed was the worst of all evils. Ulysses was punished for arrogance as he attempted to sail beyond the known world to gain higher knowledge and power. On the other hand, Mohammed was penalized for his prideful ambitions to spread his religion and make converts. Dante uses both Ulysses and Mohammed as examples of those who succumb to their prideful ambitions and are punished in the afterlife.
Step-by-step explanation: