«وَالذَّنْبُ لِلْأَيَّامِ»
And the blame belongs to the days.
Time is given the role of an agent responsible for the speaker's misfortune. Al-ayyām literally means the days; poetic personification makes them stand for life's turns and adversities.
The statement belongs to the lamenting character's voice. It should not be treated as a full theological argument about causation, providence or moral responsibility. Its function is to externalize sorrow through vivid language.