An idiom is a phrase or expression whose meaning cannot be understood based on the meaning of the words of which it is composed. Example: “Dark horse”. It is usually applied to people from whom you don’t know what to expect.
A saying is a short sentence used by many people, reflecting wisdom or advice.