The territory of Sin — a place name, not the term for moral malady — that Israel transversed after leaving Mitsraim (Egypt) was a very large place. It’s in the area where Mt. Sinai is located.
Yet, Yisra’el did sin at Rephadim, so it was called Massah and Meribah. But God still gave the people water from the rock — “living water” preceded law at Sinai — and defeated Amalek.