The fertilizers in use today, in order to have the high-yield of crops today, make extensive use of hydrocarbons. https://www.extension.umn.edu/garden/yard-garden/lawns/characteristics-of-natural-and-manufactured-fertilizers
Oil is needed in the production of lubricants, which are used on alternative forms of power. It is used in manufacture of goods and fertilizers. I can’t see us feeding the planet without the use of petroleum products.
Time to change tack.