Solomon-Kohelet does not defend the Creator, even though he continually acknowledges Him/Her. Instead, he observes (very dispassionately, like a modern social scientist) the world as it is with all its apparently random outcomes. The “good and just” sometimes suffer evil and calamity in the same way as fools and criminals; the unjust and wicked too often seem to live easy, fat, comfortable lives while the innocent, the good, and the just suffer. He never facilely resorts to blaming God for this state of affairs, nor does he ever mention a ‘devil’, a demon, or any other supernatural entity as an instigator; such things just are. But he still has something to say as to why they are as they are, and his insights are right on target to this day.
Charlemagne’s dream was certainly more noble than Constantine’s, and the new Emperor of the West seems to have had a very sincere faith in Christ and a desire to see it established and inculcated into the hearts, minds, and culture of the peoples under his sway. He promoted learning and study and extensively built churches, monasteries, convents, schools, hospitals, and castles for his garrisons. He was devout in his personal observance. But he still used fear and force to convert the reluctant or make examples of the too stubborn.