In what sense are Hobbes and Machiavelli similar political thinkers?

In what sense are Hobbes and Machiavelli similar political thinkers?
2) Socrates would have been a great philosopher king, as envisioned in Plato’s Republic.
3) Hobbes’ political philosophy is based on fear.