How would a cold swimming pool could have more heat energy than hot saucepan?

It is not possible for a cold swimming pool to have more heat energy than a hot saucepan. Heat energy flows from a higher temperature object to a lower temperature object, so the hot saucepan must have more heat energy than the cold swimming pool.