More on alleged theft from Egypt

Didn’t the Israelites leave Egypt before Moses received the “Ten” Commandments? How could the alleged theft from Egypt be an issue? It wasn’t a sin yet.