Falcon Heavy has been launching commercial, government, and military payloads successfully for years now. [1] I'd
strongly encourage checking out their first successful test launch of it, from 5 years ago. [2] Skip to about 29 minutes in for the money shot. Still gives me goose bumps!
So let's compare the two! Falcon Heavy was developed with completely private funding, at a cost of ~$500 million. The prices of the launches are listed in Wiki. They start at $117 million, as NASA paid in 2023 to launch their Psyche craft. The SLS has been in development for more than a decade now, fully paid by the taxpayer, at a cost just about to break the $30 billion mark. The nominal cost per launch is still unknown but will almost certainly top a billion dollars. The last NASA administration gave an estimate of $800-$900 million per launch in 2019 dollars. And SLS cost estimates only go one way.
And what do you get for $30 billion, and then another billion per launch? Ideally up to almost twice the capacity of a Falcon Heavy. The reason people are so cool on the SLS is that it's already a very poor value against existing technologies. And will be completely obsolete by the time Starship comes to pass which should not only be able to launch for a fraction of the cost of Falcon Heavy (which is already a fraction of the cost of SLS), but also launch well over the ideal launch capacity of SLS.
[1] - https://en.wikipedia.org/wiki/Falcon_Heavy#Launches_and_payl...
[2] - https://www.youtube.com/watch?v=wbSwFU6tY1c