Such a person is double-minded and unstable in all they do.
Read James 1:8 Using Other Translations
A double minded man is unstable in all his ways.
he is a double-minded man, unstable in all his ways.
Their loyalty is divided between God and the world, and they are unstable in everything they do.
Scripture quoted by permission. Quotations designated (NIV) are from THE HOLY BIBLE: NEW INTERNATIONAL VERSION®. NIV®. Copyright © 1973, 1978, 1984, 2011 by Biblica. All rights reserved worldwide.
(New International Version Bible Online)