An idiom is defined as - a group of words whose meaning is different from the meanings of the individual words.
a foregone conclusion
a conclusion that is already decided
It was a foregone conclusion that the opposition party would win the election.
List of common idioms, their meanings and examples of their usage in sentences
An idiom is a widely used saying or expression containing a figurative meaning that differs from the phrase's literal meaning.