Primary and secondary gain
Primary gain and secondary gain, and more rarely tertiary gain, are terms used in medicine and psychology to describe the significant subconscious psychological motivators patients may have when presenting with symptoms. If these motivators are recognized by the patient, and especially if symptoms are fabricated or exaggerated for personal gain, then this is instead considered malingering.
Source: Wikipedia — Primary and secondary gain (CC BY-SA 4.0)