Peter in the following verse warns us about following others who don’t have a heart towards God.
2 Peter 3:17-18 You therefore, beloved, knowing this beforehand, be on your guard so * that you are not carried away by the error of unprincipled men and fall from your own steadfastness,
18 but grow in the grace and knowledge of our Lord and Savior Jesus Christ. To Him be the glory, both now and to the day of eternity. Amen.
Think of it this way. Suppose you are on a boat and either you float upstream or downstream. Upstream is towards God. But flowing downstream means that your heart is growing cold because you have allowed other influences (maybe the people you are hanging around) in your life that doesn’t follow God’s word.
Choose to stay the course towards God. Meet and friend people who love the Lord. Be on guard to those who don’t pursue the Lord and his Word.