You commit no error by seeking provisions from your Lord (through commerce). When you file from `Arafaat, you shall commemorate God at the Sacred Location (of Muzdalifah). You shall commemorate Him for guiding you; before this, you had gone astray.
لَيسَ عَلَيكُم جُناحٌ أَن تَبتَغوا فَضلًا مِن رَبِّكُم فَإِذا أَفَضتُم مِن عَرَفٰتٍ فَاذكُرُوا اللَّهَ عِندَ المَشعَرِ الحَرامِ وَاذكُروهُ كَما هَدىٰكُم وَإِن كُنتُم مِن قَبلِهِ لَمِنَ الضّالّينَ
laisa ‘alaikum junaahun an tabtaghoo fad lam mir rabbikum; fa izaaa afadtum min ‘Arafaatin fazkurul laaha ‘indal-Mash’aril Haraami waz kuroohu kamaa hadaakum wa in kuntum min qablihee laminad daaalleen