You're about ten years behind on that claim.
https://en.wikipedia.org/wiki/Cost_of_electricity_by_source
Note the charts showing solar and on-land wind dropped past coal ten years ago and kept dropping while coal has flatlined.
Also note that nuclear is getting to be four times the cost of solar. And solar is still dropping.
And before you screech about "wHaT aBOut WHen tHe SUn gOES dOWn!1!", google "cost of battery storage trends"
Hint: it's dropped to one fifth the cost it was ten years ago. It dropped 15% this year, and that's with an increase in demand of 50%. Economies of scale and competitive pressures are causing battery prices to fall like a rock.
Think about that for a second: when Tesla Powerwall was introduced (2015) the batteries in them cost 5x what they do today.