It was the universal distaste for Jeff Davis that led to the elevation of Lee as an icon soon after the war. Lee being safely dead, and Davis being cursed with a long life and a vivid imagination and thirst for vengeance, he occupied his time writing various fictions (The Rise of the Confederate Government being one).
If Davis was liked, they would not have needed the idolatry of Lee.
Read more at The Jefferson Davis Funeral Train Story