Yes, tis correct. (i think)
This sentence is a metaphor. Metaphors are rhetorical figures of speech which have to do with symbolic comparisons without the use of comparing words such as <em>like </em>or <em>as </em>(because when those words are used, it is a simile). So here, the man is compared to a machine based on how many hours he can work. It is also not an analogy, because analogies are references to people or events outside of the work where the analogy is used.
“Oedipus Rex,” is a Greek play which plays a very important role in constructing the character of a perfect tragedy. Apart from this it also reflects the reality of human existence and the nature of the people of this world. The protagonist of the play ‘Oedipus’ falls a prey to his pride. His pride nature and his refusal to accept the prophecy made by the gods build the path towards his downfall. However, he wanted to escape what his fate had decided for him with his anger and pride but fails in doing so. This play highlights the fact that none can escape from his/her destiny. Fate has that strength which can even lean the wealthiest, the strongest or the most powerful person. Pride and anger can never help a person to progress rather become a reason for their downfall.
This is like Romeo and Juliet. Their families were at war with each other.