It was blocked because it would have made it worse. The bill allowed freebies to illegals but no money for agents, no money for deportation, no money for fences etc. In short it encouraged more to come with zero chance of punishment.
As far as Ukraine, not our fight or problem, hundreds of billions of US dollars to the losing side. Not only does that keep billions of dollars away from filling the needs of American citizens, but there is also no accountability, billions have been skimmed off and the elite of Ukraine are buying up homes in neighboring countries, they don't even live there anymore.