Don’t take a cue from Kanye: Women are more attracted to humble men than cocky guys, finds a recent study from Hope College.

Researchers created fake online dating profiles that varied only in how humbly—or arrogantly—the men described themselves. Women rated the modest guys as hotter and were more likely to want to date them.

Women take humility as a sign that you’ll treat them well in a relationship, says study author Daryl Van Tongeren, Ph.D. And they’re right: Humble people put the needs of others—like their partners—first, Van Tongeren says.

The best part: Humility isn’t a fixed trait. You can cultivate it with a little effort, says Van Tongeren.

First, acknowledge your shortcomings. Don’t have any? A close friend or family member will happily fill you in. Having an accurate view of your strengths and weaknesses is a key part of being humble, Van Tongeren says.

Next, think of ways to share credit with others when telling a date—or anyone—about your accomplishments, he says.

Most importantly, practice putting your relationship before yourself. For example, instead of trying to win a fight with your partner, think about how to achieve the best outcome for the both of you—even if it means making a sacrifice or admitting you’re wrong.