the be-all and end-all (of something)

idiomPart ofbe

the be-all and end-all (of something) — idiom

1. The most important or essential part of something.

1.idiom
Definition

The most important or essential part of something.

Example

Winning the championship is not the be-all and end-all of his career.

For many, money is the be-all and end-all of happiness.