You can bet the farm
you can bet the farm on (someone or something)
You can have total confidence in the ability of someone or something to succeed. He may have retired five years ago, but I still think you could bet the farm on him to win the heavyweight championship if he ever decided to put the gloves back on. If you're looking for a PC that won't let you down, then you can bet the farm on this one.
you can bet the farm that (something will happen or is the case)
You can be absolutely certain that something will happen or is the case. Typically used in relation to larger or more serious hypothetical outcomes. Well, you can bet the farm that those yahoos in Congress won't do anything to fix this problem. You can bet the farm that this announcement is little more than a PR stunt.
You can bet the farm (on someone or something).
Rur. You can be certain of someone or something. This is a good investment. You can bet the farm on it. You can bet the farm that Joe is gonna get that job.