Why do I make the same mistake of buying pants that are too short?

My cords are just a bit short and I purchased these luxe joggers in Autumn - and really they are a bit too short. With sandals they are okay, and I can hide the gap with a black sock and black sneakers, but now I see it, I cannot unsee it and I may end up donating or selling them.

It is something I need to be more fussy with length. I am 5ft 8/174cm tall and have long legs. Hem allowances are short mostly now,

Anyone else a slow learner?