God's kindness and peace is undeserved - in fact it can't be earned; it comes through grace bought by your saviour, Jesus Christ.
--------
It definitely can't be earned , but it does need to be accepted ... by "exercising faith".
(John 3:16) “For God loved the world so much that he gave his only-begotten Son, so that everyone exercising faith in him might not be destroyed but have everlasting life.
(John 3:36) The one who exercises faith in the Son has everlasting life; the one who disobeys the Son will not see life, but the wrath of God remains upon him.