In the story, he stumbled upon a location with a high concentration of energy, and Sonic came across a ring on which was written 'Island Legend', the inhabitants of which did not observe their own rule - they wanted to get what they were not given.
Thales invented a mechanism that finds jewels with strong energy. In Sonic The Hedgehog 3 it all starts with the fact that the characters rest after previous adventures.