The Apollo program cost the United States $25.8 billion between 1960 and 1973, which is equivalent to about $318 billion in 2023 dollars. The Apollo 11 mission alone cost about $355 million in 1969 dollars, They had over 23,000 engineers on the ground. Now there are less than 3,000.
For other's reference, the F-35 program is expected to cost $2 trillion dollars [0], and each jet costs roughly $100 million [1]. We have about 1,100 of them [2].
Conclusion, money isn't preventing us from sending people to the moon.