Amos 5:14 Seek good, and not evil, that ye may live: And so the LORD, the God of hosts, shall be with you, as ye have spoken.
The man of God is talking to the people of God. He tells them that it is time to quit living for themselves and start obeying God. From the early days of the nation of Israel God told them that they could be blessed or cursed. It was up to them. This is not a passage about losing their salvation but about losing the blessings God has for them. They must decide to obey God or not. Not obeying God will bring His harsh judgment on their sins.
It is time for God’s people to do what they know that they should be doing. If they will do right then they will live and be blessed. If they do right God will be with them just like He promised in the beginning.
We can’t sin and not expect to suffer the consequences. We must know that serving God costs but it costs even more not to serve Him.