"When we used to equate you with the Lord of the worlds," meaning: we used to take you as gods.
﴿إِذْ نسويكم بِرَبّ الْعَالمين﴾ أَي: نتخذكم آلِهَة