I used to get up a 5 am everyday to workout before work. During Covid, I fell out of that habit. I'm now back to evening workouts.
I lift 2-3x a week, and I've come to the conclusion that it's better for me to lift in the evening because my body has all day to move and loosen up, so I am less likely to injure myself.