This is usually said about something unpleasant. Even though it is unpleasant, it will be good for you, and you will see (later, perhaps) that it is good for you. For example, if a parent spanks a child, he or she may say "This is for your own good".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.