The U.S. federal government spent ($107.6 billion) on education in fiscal year 2012. In 2012, the US spent an average of $8,915 per person on health care, reaching a total of ($2.8 trillion).
I found that information by doing a Google search.
Nevertheless there will always be something that some people feel should take priority over other things. National Aeronautics and Space Administration (NASA) budget in 2011 was $18.724 billion!
A lot of folks probably would say (space exploration) isn't worth it.