The Beatitudes take up and fulfill God's promises from Abraham on by ordering them to the Kingdom of heaven. They respond to the desire for happiness that God has placed in the human heart.
CCC 1729
The Beatitudes teach us the final end to which God calls us: the Kingdom, the vision of God, participation in the divine nature, eternal life, filiation, rest in God.
The beatitude of eternal life is a gratuitous gift of God. It is supernatural, as is the grace that leads us there.
The Beatitudes confront us with decisive choices concerning earthly goods; they purify our hearts in order to teach us to love God above all things.
The beatitude of heaven sets the standards for discernment in the use of earthly goods in keeping with the law of God.
Man’s Freedom
God created man a rational being, conferring on him the dignity of a person who can initiate and control his own actions. "God willed that man should be 'left in the hand of his own counsel,' so that he might of his own accord seek his Creator and freely attain his full and blessed perfection by cleaving to him." (GSGaudium et spes 17; Sir 15:14)
Man is rational and therefore like God; he is created with free will and is master over his acts (St. Irenaeus, Adv. haeres. 4, 4, 3: PGPatrologia Graeca (J. P. Migne) 7/1, 983).
Freedom is the power, rooted in reason and will, to act or not to act, to do this or that, and so to perform deliberate actions on one's own responsibility. By free will one shapes one's own life. Human freedom is a force for growth and maturity in truth and goodness; it attains its perfection when directed toward God, our beatitude.
As long as freedom has not bound itself definitively to its ultimate good which is God, there is the possibility of choosing between good and evil, and thus of growing in perfection or of failing and sinning. This freedom characterizes properly human acts. It is the basis of praise or blame, merit or reproach.
The more one does what is good, the freer one becomes. There is no true freedom except in the service of what is good and just. the choice to disobey and do evil is an abuse of freedom and leads to "the slavery of sin." (Cf. Rom 6:17)