"获得抗病性" can be translated into English as "acquire disease resistance" or "gain resistance to diseases".
Both expressions are commonly used in biological and agricultural contexts to describe the process of an organism developing the ability to withstand or resist diseases.