To outweigh something means to exceed it in value, amount, or importance.
Finding a warm place to sleep outweighed the need to find something to eat.
Example picture