You were perfectly correct, Jno, to say that "work like a Trojan" - the specific version of the phrase under discussion here - dates back to the 19th century. I was trying to point out to the questioner - just as a matter of interest - that Trojans had been held up as examples of fine qualities in spheres other than work for rather longer...ie a bit of extra information.
(Excavations at Hissarlik in Turkey reveal that Troy existed as long ago as 3000 BC. Thus, when Cardinal Newman used the phrase "working like a Trojan" in 1846, he did so perhaps as much as 5,000 years after the hardy Trojans first settled there!