That's not the entire point. You still rely on global supply chains. Those semiconductors in your MacBook Pro are made in Taiwan - many steps (perhaps most) in that supply chain to go from raw material to MacBook Pro, or EV, or fresh produce rely on oil. When Iran holds 20% of the world's oil supply hostage then prices go up for you too. Even if you are 100% renewables you are still dependent on oil for your economy.
Even the renewable power grid relies on fossil fuels for maintenance and service, many parts and components are built using materials made from oil (hello plastic), &c.