I will lose my job if I file bankruptcy. Not true! The bankruptcy code prohibits an employer from discriminating based on bankruptcy filing.
Can you not be hired if you fired bankruptcy? It may be true they can't legally use your bankruptcy as a reason not to hire you, but they can certainly find someone BETTER who has not filed bankruptcy - and there is no law to prevent them from doing that. Bankruptcy carries with it a certain negative meaning to employers and there is no guaranteed protection and discrimination against you where this is concerned can be much more covert.