Write what you know is a phrase that's often thrown at writers. I've even talked about it myself on this blog. Like most lessons, it can have different meanings and challenges to different people.
Author Emma Newman wrote about this topic in The Untrue Truth of "Write What You Know" as a guest writer on Chuck Wendig's terribleminds site. Her article is well worth a read with its discussion of transferable skills. Have a look.