Warnings are meant to be heard and obeyed, if not contrary to one's faith. Warnings are acts of mercy. If heed can save one's life; or stay retribution. Pharaoh the king of Egypt, received his last warning from God, before the death of his firstborn son. Had he heeded the warning he could, have spared the life of his son; but his heart was harden because of the power and majesty of our God, whom he would not acknowledge. We to have been warned of God, in fact our last warning is giving in revelation 14:6-12. Like pharaoh, we are to acknowledge God in obedience to his law and to worship him on his holy Sabbath day, revelation 14:7. For the seventh day Sabbath is our token, and our sign of allegiance to God. Our neglect of this duty is as harden our hearts to God, like pharaoh did. Our life is at stake!
Yes, Jesus' warns us for our own good.
People can fall away from Jesus see Galatians 5:4; 1 Corinthians 10:12; 2 Peter 3:17. We are warned not to drift away, Hebrews 2:1, not to draw back, Hebrews 10:38; to hold on and stand firm, Hebrews 3:14, 1 Corinthians 15:2, 2 Thessalonians 2:15. We are told how not to fall, 2 Peter 1:10, how not to be hardened, Hebrews 3:8,13.
God can throw people out, Matthew 22:13, blot people out, Exodus 32:32-33, remove your lampstand, Revelation 2:5, sign you a place with unbelievers, Luke 12:46, and cut you off, Romans 11:19-21. We can become defiled, Hebrews 12:15. Our lamps can burn out, Matthew 25:8. We can cause ourselves to have to have Christ formed in us again, Galatians 4:19.
We are told how to remain in Jesus, John 6:56, and if we do Jesus will remain in us, John 15:4. Jesus tells us of the good if we remain in him, John 15:5, and of the bad when we do not, John 15:6. Jesus exhorts us to remain in him, John 15:9, 10, Acts 14:22, and 1 John 2:24.