This idiom is used to mean that you are absolutely certain that something is true or will happen. Example: You can bet your life they'll get married.