Question: are all motherboards compatible with all ram?
Answer: No, "all RAM" does not fit into "all motherboards". There's DDR, DDR2, DDR3, DDR4 - and various speeds within each of those. The motherboard vendor website should list what's compatible.