Let’s assume the energy for lighting comes from solar. Panels are only 20% effective. Now your vertical farm needs 5x the space of a basic farm, and you still have to pay for power instead of using free sunlight. There is some video on YouTube from a salt lake city university professor who works for nasa on growing plants in space about this topic.
https://youtu.be/ISAKc9gpGjw?t=832