That makes no sense.
First, fossil fuels currently are used to generate about 60% of the world's electricity. Nearly all of that could be replaced with renewables plus batteries.
Second, only around 20% of fossil fuel used for transportation is used in aviation or marine transportation. Most of the remaining 80% could be replaced by electric vehicles.
Overall something like 75% of what fossil fuels are extracted for could be replaced with renewables, leaving marine and aviation transportation and things that are not using them for their combustion chemistry.