If a 40 year old coworker has given me flattering compliments 2 years ago but never ASKED ME OUT is it safe to say he didn't actually believe them?

Like he insiniated im smart and desired by men and stuff that is specific but it was honestly really flattering. Plus i was secretly in love with him. I just knew we can't be together so i tried to keep a distance. Plus im shy so maybe that was part of it too.
If a 40 year old coworker has given me flattering compliments 2 years ago but never ASKED ME OUT is it safe to say he didn't actually believe them?
Post Opinion