The answer to your question is,
Congress can override that veto with a vote of two-thirds of both houses. Another example is that the Supreme Court may check Congress by declaring a law unconstitutional. The power is balanced by the fact that members of the Supreme Court are appointed by the president.
-Mabel <3