趁機

趁機 with I had to have sex with my landlord to avoid being evicted and I willingly did it.