Yes, it helps to gain Page rank juice from high Page rank web pages. So it is always beneficial to get a backlink from a high page rank webpage compared to your website.