The number of representatives apportioned for each state does not dictate how they vote on any particular issue. The Senate has existed long before our current president.
The purpose of the Senate is to give all states equal suffrage in the legislature. Article 5 of the constitution states “no State, without its Consent, shall be deprived of its equal Suffrage in the Senate.“