Since Solomon refers to some of the building projects he had undertaken, he must have written Ecclesiastes after their completion and before his deflection from true worship.
وبما ان سليمان يشير الى بعض مشاريع البناء التي نفّذها ،‏ فلا بد انه كتب الجامعة بعد انتهائه من بنائها وقبل حيدانه عن العبادة الحقة .‏