You can remember the meaning of 比如 with this easy mnemonic:
You can't compare (比) your siblings to see if (如) you like one more than the other, that's not nice. For example, how would you like it if I compared you kids to see who I love the most?
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.