Which object has less thermal energy?

 - a pot of spaghetti sauce at a temperature of 140°F
 - a pot of spaghetti sauce at a temperature of 100°F
The two pots of spaghetti sauce have the same mass but different temperatures. Since the 100°F pot of spaghetti sauce is colder than the 140°F pot of spaghetti sauce, it has less thermal energy.